From 207cda8e10a3854323dbf83e4c2dafd5ea3ccf86 Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Thu, 18 Aug 2022 16:22:50 +0530 Subject: [PATCH] chore/typo fixed --- .../nc-gui-v2/components/smartsheet/sidebar/toolbar/AddRow.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/AddRow.vue b/packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/AddRow.vue index dffca10e5e..a97812e527 100644 --- a/packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/AddRow.vue +++ b/packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/AddRow.vue @@ -7,7 +7,7 @@ const isLocked = inject(IsLockedInj) const openNewRecordFormHook = inject(OpenNewRecordFormHookInj)! const onClick = () => { - if (!isLocked) openNewRecordFormHook.trigger() + if (!isLocked?.value) openNewRecordFormHook.trigger() }