Browse Source

refactor: revert menu rename

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/4908/head
Raju Udava 2 years ago
parent
commit
4d5e961215
  1. 6
      packages/nc-gui/components/dashboard/settings/Modal.vue
  2. 2
      tests/playwright/pages/Dashboard/Settings/index.ts
  3. 2
      tests/playwright/tests/erd.spec.ts

6
packages/nc-gui/components/dashboard/settings/Modal.vue

@ -109,9 +109,9 @@ const tabsInfo: TabGroup = {
$e('c:settings:audit') $e('c:settings:audit')
}, },
}, },
misc: { projectSettings: {
// Misc // Project Settings
title: 'Misc', title: 'Project Settings',
icon: FolderCog, icon: FolderCog,
subTabs: { subTabs: {
misc: { misc: {

2
tests/playwright/pages/Dashboard/Settings/index.ts

@ -9,7 +9,7 @@ export enum SettingTab {
TeamAuth = 'teamAndAuth', TeamAuth = 'teamAndAuth',
DataSources = 'dataSources', DataSources = 'dataSources',
Audit = 'audit', Audit = 'audit',
Misc = 'misc', ProjectSettings = 'projectSettings',
} }
export enum SettingsSubTab { export enum SettingsSubTab {

2
tests/playwright/tests/erd.spec.ts

@ -37,7 +37,7 @@ test.describe('Erd', () => {
}); });
const toggleMMAndOpenErd = async () => { 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.miscellaneous.clickShowM2MTables();
await dashboard.settings.selectTab({ tab: SettingTab.DataSources }); await dashboard.settings.selectTab({ tab: SettingTab.DataSources });
await dashboard.settings.dataSources.openErd({ await dashboard.settings.dataSources.openErd({

Loading…
Cancel
Save