From 302e7366b9051253480c1d6e2a748f70d55be796 Mon Sep 17 00:00:00 2001 From: Andrej Date: Tue, 2 Jul 2024 11:16:36 +0200 Subject: [PATCH] Save table content after adding row or columns [SCI-10827] --- app/javascript/vue/shared/content/table.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/javascript/vue/shared/content/table.vue b/app/javascript/vue/shared/content/table.vue index d0825b6f1..af382a106 100644 --- a/app/javascript/vue/shared/content/table.vue +++ b/app/javascript/vue/shared/content/table.vue @@ -312,6 +312,12 @@ export default { afterRemoveCol: () => { this.updateTableData(); }, + afterCreateCol: () => { + this.updateTableData(); + }, + afterCreateRow: () => { + this.updateTableData(); + }, beforeKeyDown: (e) => { if (e.keyCode === 27) { // esc this.editingCell = false;