new items to magic bar
This commit is contained in:
parent
1fa077fc8a
commit
d67d72987a
@ -306,6 +306,30 @@ const magicActions = [{
|
||||
name: 'Goto: Command Center',
|
||||
icon: 'goto',
|
||||
sequence: ['main', 'redirect']
|
||||
},
|
||||
{
|
||||
id: 11,
|
||||
name: 'Goto: Notifications',
|
||||
icon: 'goto',
|
||||
sequence: ['main', 'redirect']
|
||||
},
|
||||
{
|
||||
id: 12,
|
||||
name: 'Goto: Profile',
|
||||
icon: 'goto',
|
||||
sequence: ['main', 'redirect']
|
||||
},
|
||||
{
|
||||
id: 13,
|
||||
name: 'Goto: Teams',
|
||||
icon: 'goto',
|
||||
sequence: ['main', 'redirect']
|
||||
},
|
||||
{
|
||||
id: 14,
|
||||
name: 'Goto: Switch Teams',
|
||||
icon: 'goto',
|
||||
sequence: ['main', 'redirect']
|
||||
}
|
||||
]
|
||||
const initialState = {
|
||||
@ -498,6 +522,18 @@ async function redirect() {
|
||||
case 10:
|
||||
targetUrl.pathname = `/command-center`
|
||||
break;
|
||||
case 11:
|
||||
targetUrl.pathname = `/profile/team/notifications`
|
||||
break;
|
||||
case 12:
|
||||
targetUrl.pathname = `/profile`
|
||||
break;
|
||||
case 13:
|
||||
targetUrl.pathname = `/profile/team`
|
||||
break;
|
||||
case 14:
|
||||
targetUrl.pathname = `/profile/team`
|
||||
break;
|
||||
|
||||
}
|
||||
window.location.href = targetUrl;
|
||||
|
Loading…
Reference in New Issue
Block a user