diff --git a/src/components/05_quotation/TableQuotation.vue b/src/components/05_quotation/TableQuotation.vue index 5cc97d46..395f0e81 100644 --- a/src/components/05_quotation/TableQuotation.vue +++ b/src/components/05_quotation/TableQuotation.vue @@ -15,6 +15,7 @@ const props = withDefaults( columns: QTableProps['columns']; grid?: boolean; visibleColumns?: string[]; + hideEdit?: boolean; }>(), { row: () => [], @@ -151,6 +152,7 @@ defineEmits<{ :idName="`btn-kebab-${props.row.firstName}`" status="'ACTIVE'" hide-toggle + :hide-edit="hideEdit" @view="$emit('view', props.row)" @edit="$emit('edit', props.row)" @delete="$emit('delete', props.row.id)" diff --git a/src/components/shared/KebabAction.vue b/src/components/shared/KebabAction.vue index f6aedecf..633ed998 100644 --- a/src/components/shared/KebabAction.vue +++ b/src/components/shared/KebabAction.vue @@ -11,6 +11,7 @@ const props = withDefaults( hideToggle?: boolean; useLink?: boolean; useUpload?: boolean; + hideEdit?: boolean; disableDelete?: boolean; }>(), @@ -73,7 +74,7 @@ watch(