From 4d5e96121584a3e6d32c729c7ef911fab6064fad Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Wed, 25 Jan 2023 23:17:25 +0530 Subject: [PATCH] refactor: revert menu rename Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- packages/nc-gui/components/dashboard/settings/Modal.vue | 6 +++--- tests/playwright/pages/Dashboard/Settings/index.ts | 2 +- tests/playwright/tests/erd.spec.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/nc-gui/components/dashboard/settings/Modal.vue b/packages/nc-gui/components/dashboard/settings/Modal.vue index 0587390e05..36307dd64b 100644 --- a/packages/nc-gui/components/dashboard/settings/Modal.vue +++ b/packages/nc-gui/components/dashboard/settings/Modal.vue @@ -109,9 +109,9 @@ const tabsInfo: TabGroup = { $e('c:settings:audit') }, }, - misc: { - // Misc - title: 'Misc', + projectSettings: { + // Project Settings + title: 'Project Settings', icon: FolderCog, subTabs: { misc: { diff --git a/tests/playwright/pages/Dashboard/Settings/index.ts b/tests/playwright/pages/Dashboard/Settings/index.ts index ddbbed8243..448f78550d 100644 --- a/tests/playwright/pages/Dashboard/Settings/index.ts +++ b/tests/playwright/pages/Dashboard/Settings/index.ts @@ -9,7 +9,7 @@ export enum SettingTab { TeamAuth = 'teamAndAuth', DataSources = 'dataSources', Audit = 'audit', - Misc = 'misc', + ProjectSettings = 'projectSettings', } export enum SettingsSubTab { diff --git a/tests/playwright/tests/erd.spec.ts b/tests/playwright/tests/erd.spec.ts index 847342f6bf..4d4a5af20f 100644 --- a/tests/playwright/tests/erd.spec.ts +++ b/tests/playwright/tests/erd.spec.ts @@ -37,7 +37,7 @@ test.describe('Erd', () => { }); const toggleMMAndOpenErd = async () => { - await dashboard.settings.selectTab({ tab: SettingTab.Misc, subTab: SettingsSubTab.Miscellaneous }); + await dashboard.settings.selectTab({ tab: SettingTab.ProjectSettings, subTab: SettingsSubTab.Miscellaneous }); await dashboard.settings.miscellaneous.clickShowM2MTables(); await dashboard.settings.selectTab({ tab: SettingTab.DataSources }); await dashboard.settings.dataSources.openErd({