From e4077cd12aa15c6405c0157b88b2f24be7e6a524 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Mon, 25 Jul 2022 09:25:20 +0200 Subject: [PATCH] refactor(gui-v2): cleanup template editor component # What's changed? * fix types * change arrow fns to regular functions to avoid ordering issues * move templateColumns to utils file --- .../nc-gui-v2/components/template/Editor.vue | 166 ++++++++---------- .../nc-gui-v2/components/template/utils.ts | 25 +++ 2 files changed, 102 insertions(+), 89 deletions(-) create mode 100644 packages/nc-gui-v2/components/template/utils.ts diff --git a/packages/nc-gui-v2/components/template/Editor.vue b/packages/nc-gui-v2/components/template/Editor.vue index fb09575ab2..0cfa323e37 100644 --- a/packages/nc-gui-v2/components/template/Editor.vue +++ b/packages/nc-gui-v2/components/template/Editor.vue @@ -1,8 +1,9 @@