Browse Source

fix: return if trying to change row height to active option

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/4840/head
mertmit 2 years ago
parent
commit
88efea2078
  1. 1
      packages/nc-gui/components/smartsheet/toolbar/RowHeight.vue

1
packages/nc-gui/components/smartsheet/toolbar/RowHeight.vue

@ -16,6 +16,7 @@ const open = ref(false)
const updateRowHeight = async (rh: number) => {
if (view.value?.id) {
if (rh === (view.value.view as GridType).row_height) return
try {
if (!isPublic.value && !isSharedBase.value) {
await $api.dbView.gridUpdate(view.value.id, {

Loading…
Cancel
Save