diff --git a/packages/nc-gui/components/smartsheet/expanded-form/Header.vue b/packages/nc-gui/components/smartsheet/expanded-form/Header.vue index 11d919963b..2f8e0c7cf6 100644 --- a/packages/nc-gui/components/smartsheet/expanded-form/Header.vue +++ b/packages/nc-gui/components/smartsheet/expanded-form/Header.vue @@ -17,7 +17,7 @@ const { isNew, syncLTARRefs } = useSmartsheetRowStoreOrThrow() const { isUIAllowed } = useUIPermission() -const reloadTrigger = inject(ReloadRowDataHookInj)! +const reloadTrigger = inject(ReloadRowDataHookInj, createEventHook()) const save = async () => { if (isNew.value) { diff --git a/packages/nc-gui/components/virtual-cell/HasMany.vue b/packages/nc-gui/components/virtual-cell/HasMany.vue index 730ea8bab9..505cc065d2 100644 --- a/packages/nc-gui/components/virtual-cell/HasMany.vue +++ b/packages/nc-gui/components/virtual-cell/HasMany.vue @@ -30,7 +30,7 @@ const cellValue = inject(CellValueInj)! const row = inject(RowInj)! -const reloadRowTrigger = inject(ReloadRowDataHookInj)! +const reloadRowTrigger = inject(ReloadRowDataHookInj, createEventHook()) const isForm = inject(IsFormInj) diff --git a/packages/nc-gui/components/virtual-cell/ManyToMany.vue b/packages/nc-gui/components/virtual-cell/ManyToMany.vue index 16b4057f7c..b5d81ed648 100644 --- a/packages/nc-gui/components/virtual-cell/ManyToMany.vue +++ b/packages/nc-gui/components/virtual-cell/ManyToMany.vue @@ -29,7 +29,7 @@ const row = inject(RowInj)! const cellValue = inject(CellValueInj)! -const reloadRowTrigger = inject(ReloadRowDataHookInj)! +const reloadRowTrigger = inject(ReloadRowDataHookInj, createEventHook()) const isForm = inject(IsFormInj)