diff --git a/src/modules/04_registry/components/Information/top.vue b/src/modules/04_registry/components/Information/top.vue index 2a8221cf9..416a8f049 100644 --- a/src/modules/04_registry/components/Information/top.vue +++ b/src/modules/04_registry/components/Information/top.vue @@ -43,7 +43,7 @@ size="12px" flat round - v-if="edit" + v-if="edit && !addEmployee" :color="!edit ? 'grey-7' : 'red'" @click="ClickCancel" icon="mdi-undo" @@ -157,6 +157,10 @@ const props = defineProps({ type: Function, default: () => console.log("not function"), }, + addEmployee: { + type: Boolean, + defualt: false, + }, }); const emit = defineEmits(["update:edit"]);