mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 09:28:51 +00:00
Merge pull request #2336 from kravets-levko/fix/settings-tabs-order
Explicitly set order of tabs on Settings page
This commit is contained in:
commit
c65b637bc4
@ -12,6 +12,7 @@ export default function init(ngModule) {
|
|||||||
permission: 'admin',
|
permission: 'admin',
|
||||||
title: 'Alert Destinations',
|
title: 'Alert Destinations',
|
||||||
path: 'destinations',
|
path: 'destinations',
|
||||||
|
order: 4,
|
||||||
});
|
});
|
||||||
|
|
||||||
ngModule.controller('DestinationsCtrl', DestinationsCtrl);
|
ngModule.controller('DestinationsCtrl', DestinationsCtrl);
|
||||||
|
@ -16,6 +16,7 @@ export default function init(ngModule) {
|
|||||||
permission: 'create_query',
|
permission: 'create_query',
|
||||||
title: 'Query Snippets',
|
title: 'Query Snippets',
|
||||||
path: 'query_snippets',
|
path: 'query_snippets',
|
||||||
|
order: 5,
|
||||||
});
|
});
|
||||||
|
|
||||||
ngModule.component('snippetsListPage', {
|
ngModule.component('snippetsListPage', {
|
||||||
|
@ -24,6 +24,7 @@ export default function init(ngModule) {
|
|||||||
permission: 'admin',
|
permission: 'admin',
|
||||||
title: 'Settings',
|
title: 'Settings',
|
||||||
path: 'settings/organization',
|
path: 'settings/organization',
|
||||||
|
order: 6,
|
||||||
});
|
});
|
||||||
|
|
||||||
ngModule.component('organizationSettingsPage', {
|
ngModule.component('organizationSettingsPage', {
|
||||||
|
@ -114,6 +114,7 @@ export default function init(ngModule) {
|
|||||||
settingsMenu.add({
|
settingsMenu.add({
|
||||||
title: 'Account',
|
title: 'Account',
|
||||||
path: 'users/me',
|
path: 'users/me',
|
||||||
|
order: 7,
|
||||||
});
|
});
|
||||||
|
|
||||||
ngModule.controller('UserCtrl', UserCtrl);
|
ngModule.controller('UserCtrl', UserCtrl);
|
||||||
|
Loading…
Reference in New Issue
Block a user