refactor: add define props hide kebeb view and edit

This commit is contained in:
Thanaphon Frappet 2024-12-24 10:56:11 +07:00
parent c7c018a974
commit b2357f5d00
2 changed files with 10 additions and 3 deletions

View file

@ -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')"