From 16e0c0a383743be4b50f791f14def408a3802ef4 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Tue, 3 May 2022 12:50:33 +0800 Subject: [PATCH] chore: add toast error message --- .../components/project/spreadsheet/components/editColumn.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/nc-gui/components/project/spreadsheet/components/editColumn.vue b/packages/nc-gui/components/project/spreadsheet/components/editColumn.vue index 84f9005e3c..7f99d1913f 100644 --- a/packages/nc-gui/components/project/spreadsheet/components/editColumn.vue +++ b/packages/nc-gui/components/project/spreadsheet/components/editColumn.vue @@ -693,6 +693,10 @@ export default { ); } catch (e) { console.log(e); + this.$toast + .error("Failed to save column: " + e) + .goAway(3000); + throw e; } this.$emit("close");