From ffef51679f6a776385990ee980c7dc11ec1d6b3d Mon Sep 17 00:00:00 2001 From: rohittp Date: Mon, 3 Jun 2024 11:34:40 +0000 Subject: [PATCH] chore: keeps modal open when saving using keyboard shortcut --- packages/nc-gui/components/smartsheet/expanded-form/index.vue | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/expanded-form/index.vue b/packages/nc-gui/components/smartsheet/expanded-form/index.vue index e8ceede8f2..fd1dae3542 100644 --- a/packages/nc-gui/components/smartsheet/expanded-form/index.vue +++ b/packages/nc-gui/components/smartsheet/expanded-form/index.vue @@ -124,7 +124,6 @@ const { isNew, loadRow: _loadRow, primaryKey, - saveRowAndStay, row: _row, save: _save, loadComments, @@ -382,9 +381,6 @@ useActiveKeyupListener( await save() reloadHook?.trigger(null) } - if (!saveRowAndStay.value) { - onClose() - } } catch (e: any) { if (isNew.value) { message.error(`Add row failed: ${await extractSdkResponseErrorMsg(e)}`)