feat: add sla to sidebar

This commit is contained in:
Vishnu Narayanan
2024-01-24 19:36:48 +05:30
parent 2717bd1024
commit d1039d4866
2 changed files with 12 additions and 0 deletions
@@ -39,6 +39,7 @@ const settings = accountId => ({
'settings_teams_finish',
'settings_teams_list',
'settings_teams_new',
'sla_list',
],
menuItems: [
{
@@ -158,6 +159,15 @@ const settings = accountId => ({
featureFlag: FEATURE_FLAGS.AUDIT_LOGS,
beta: true,
},
{
icon: 'key',
label: 'SLA',
hasSubMenu: false,
toState: frontendURL(`accounts/${accountId}/settings/sla/list`),
toStateName: 'sla_list',
featureFlag: FEATURE_FLAGS.SLA,
beta: true,
},
],
});
@@ -16,6 +16,7 @@ import macros from './macros/macros.routes';
import profile from './profile/profile.routes';
import reports from './reports/reports.routes';
import store from '../../../store';
import sla from './sla/sla.routes';
import teams from './teams/teams.routes';
export default {
@@ -47,6 +48,7 @@ export default {
...macros.routes,
...profile.routes,
...reports.routes,
...sla.routes,
...teams.routes,
],
};