From f5cea069f1c2529fe6ca5b0eb071d8cbc85d4d94 Mon Sep 17 00:00:00 2001
From: Raju Udava <86527202+dstala@users.noreply.github.com>
Date: Thu, 25 Aug 2022 14:46:56 +0530
Subject: [PATCH] refactor: cy class marker, move viewTypes string to utility
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
---
.../components/smartsheet/sidebar/MenuBottom.vue | 10 +++++++---
.../components/smartsheet/sidebar/MenuTop.vue | 10 ++--------
packages/nc-gui-v2/utils/viewUtils.ts | 6 ++++++
3 files changed, 15 insertions(+), 11 deletions(-)
diff --git a/packages/nc-gui-v2/components/smartsheet/sidebar/MenuBottom.vue b/packages/nc-gui-v2/components/smartsheet/sidebar/MenuBottom.vue
index d88bf2030d..94e307d976 100644
--- a/packages/nc-gui-v2/components/smartsheet/sidebar/MenuBottom.vue
+++ b/packages/nc-gui-v2/components/smartsheet/sidebar/MenuBottom.vue
@@ -26,7 +26,7 @@ function onOpenModal(type: ViewTypes, title = '') {
@@ -46,7 +46,11 @@ function onOpenModal(type: ViewTypes, title = '') {
-
+
{{ $t('msg.info.addView.gallery') }}
@@ -67,7 +71,7 @@ function onOpenModal(type: ViewTypes, title = '') {
diff --git a/packages/nc-gui-v2/components/smartsheet/sidebar/MenuTop.vue b/packages/nc-gui-v2/components/smartsheet/sidebar/MenuTop.vue
index 85781e666f..c3220bd000 100644
--- a/packages/nc-gui-v2/components/smartsheet/sidebar/MenuTop.vue
+++ b/packages/nc-gui-v2/components/smartsheet/sidebar/MenuTop.vue
@@ -1,6 +1,5 @@