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')
},
},
misc: {
// Misc
title: 'Misc',
projectSettings: {
// Project Settings
title: 'Project Settings',
icon: FolderCog,
subTabs: {
misc: {

2
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 {

2
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({

Loading…
Cancel
Save