From 2a209f334b75e613148ee6a609fcd9aa290fb116 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Mon, 11 Oct 2021 11:27:57 +0530 Subject: [PATCH] fix: missing view name edit icon Signed-off-by: Pranav C --- .../project/spreadsheet/components/spreadsheetNavDrawer.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/components/project/spreadsheet/components/spreadsheetNavDrawer.vue b/packages/nc-gui/components/project/spreadsheet/components/spreadsheetNavDrawer.vue index 74f4344c30..700b9b7cee 100644 --- a/packages/nc-gui/components/project/spreadsheet/components/spreadsheetNavDrawer.vue +++ b/packages/nc-gui/components/project/spreadsheet/components/spreadsheetNavDrawer.vue @@ -694,7 +694,7 @@ export default { this.clipboardSuccessHandler() }, async updateViewName(view, index) { - if (view.title_temp === view.title || !view.edit) { return } + if (view.title_temp === view.title || !view.edit) { this.$set(view, 'edit', false); return } if (this.viewsList.some((v, i) => i !== index && (v.alias || v.title) === view.title_temp)) { this.$toast.info('View name should be unique').goAway(3000) this.$set(view, 'edit', false)