Browse Source

Merge pull request #3233 from nocodb/fix/fixed-issue-with-add-new-row

chore/typo fixed in AddRow button
pull/3238/head
Raju Udava 2 years ago committed by GitHub
parent
commit
ab511d3718
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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