From 06633cf9a6156293e19b0b5f3bc22b8081ac1002 Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Tue, 26 Nov 2024 05:46:55 +0000 Subject: [PATCH] fix(nc-gui): revert form view reload related changes --- packages/nc-gui/components/smartsheet/Form.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/Form.vue b/packages/nc-gui/components/smartsheet/Form.vue index 753c0dde34..35b0d0a77f 100644 --- a/packages/nc-gui/components/smartsheet/Form.vue +++ b/packages/nc-gui/components/smartsheet/Form.vue @@ -730,8 +730,8 @@ watch(submitted, (v) => { } }) -watch(view, (nextView, oldView) => { - if (nextView?.type === ViewTypes.FORM && nextView?.id !== oldView?.id) { +watch(view, (nextView) => { + if (nextView?.type === ViewTypes.FORM) { reloadEventHook.trigger() } })