Browse Source

chore/typo fixed

pull/3233/head
Muhammed Mustafa 2 years ago
parent
commit
207cda8e10
  1. 2
      packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/AddRow.vue

2
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()
}
</script>

Loading…
Cancel
Save