diff --git a/src/components/05_quotation/QuotationCard.vue b/src/components/05_quotation/QuotationCard.vue index 7c875fd1..387110d7 100644 --- a/src/components/05_quotation/QuotationCard.vue +++ b/src/components/05_quotation/QuotationCard.vue @@ -20,6 +20,8 @@ defineProps<{ urgent?: boolean; hidePreview?: boolean; badgeColor?: string; + hideKebabView?: boolean; + hideKebabEdit?: boolean; customData?: { label: string; @@ -89,6 +91,8 @@ const rand = Math.random(); :idName="code" status="ACTIVE" hide-toggle + :hide-view="hideKebabView" + :hide-edit="hideKebabEdit" @view="$emit('view')" @edit="$emit('edit')" @link="$emit('link')" diff --git a/src/components/shared/KebabAction.vue b/src/components/shared/KebabAction.vue index 633ed998..9360b56e 100644 --- a/src/components/shared/KebabAction.vue +++ b/src/components/shared/KebabAction.vue @@ -9,10 +9,10 @@ const props = withDefaults( idName: string; status: string; hideToggle?: boolean; + hideEdit?: boolean; + hideView?: boolean; useLink?: boolean; useUpload?: boolean; - hideEdit?: boolean; - disableDelete?: boolean; }>(), { @@ -54,6 +54,7 @@ watch( - {{ $t('general.delete') }} + + {{ $t('general.delete') }} +