diff --git a/src/components/common/VnLog.vue b/src/components/common/VnLog.vue
index 19765b1f7..6e656dbe8 100644
--- a/src/components/common/VnLog.vue
+++ b/src/components/common/VnLog.vue
@@ -1,7 +1,7 @@
{
return $props.id || route.params.id;
});
const regularizeStockFormDialog = ref(null);
-const item = ref(null);
const available = ref(null);
const visible = ref(null);
const _warehouseFk = ref(null);
@@ -131,12 +130,7 @@ const openCloneDialog = async () => {
:subtitle="data.subtitle"
:summary="$props.summary"
:url="`Items/${entityId}/getCard`"
- @on-fetch="
- (data) => {
- item = data;
- setData(data);
- }
- "
+ @on-fetch="setData"
>
diff --git a/src/pages/Item/Card/ItemDiary.vue b/src/pages/Item/Card/ItemDiary.vue
index 4c0959153..ec06c04a8 100644
--- a/src/pages/Item/Card/ItemDiary.vue
+++ b/src/pages/Item/Card/ItemDiary.vue
@@ -1,7 +1,7 @@