From 0038a6ebe1e3d4373ef5e96c8130615c91bedc9f Mon Sep 17 00:00:00 2001 From: Daniel Spaude Date: Mon, 13 Feb 2023 14:46:41 -0500 Subject: [PATCH] expanded form view: disable Duplicate and Delete buttons for new/unsaved rows --- .../smartsheet/expanded-form/Header.vue | 15 ++++++++++++--- .../components/smartsheet/expanded-form/index.vue | 7 +++++-- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/expanded-form/Header.vue b/packages/nc-gui/components/smartsheet/expanded-form/Header.vue index 3868bb0a42..c22057348a 100644 --- a/packages/nc-gui/components/smartsheet/expanded-form/Header.vue +++ b/packages/nc-gui/components/smartsheet/expanded-form/Header.vue @@ -73,7 +73,6 @@ useEventListener(document, 'keydown', async (e: KeyboardEvent) => { } }) - const showDeleteRowModal = ref(false) const { deleteRowById } = useViewData(meta, ref(props.view)) @@ -157,7 +156,12 @@ const onConfirmDeleteRowClick = async () => {