From 88efea2078e73ea93294e0abf7ce3f4a0b16192c Mon Sep 17 00:00:00 2001 From: mertmit Date: Sun, 22 Jan 2023 20:36:48 +0300 Subject: [PATCH] fix: return if trying to change row height to active option Signed-off-by: mertmit --- packages/nc-gui/components/smartsheet/toolbar/RowHeight.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/nc-gui/components/smartsheet/toolbar/RowHeight.vue b/packages/nc-gui/components/smartsheet/toolbar/RowHeight.vue index 292893f397..40fd82b8ab 100644 --- a/packages/nc-gui/components/smartsheet/toolbar/RowHeight.vue +++ b/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, {