new items to magic bar
This commit is contained in:
parent
1fa077fc8a
commit
d67d72987a
@ -306,6 +306,30 @@ const magicActions = [{
|
|||||||
name: 'Goto: Command Center',
|
name: 'Goto: Command Center',
|
||||||
icon: 'goto',
|
icon: 'goto',
|
||||||
sequence: ['main', 'redirect']
|
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 = {
|
const initialState = {
|
||||||
@ -498,6 +522,18 @@ async function redirect() {
|
|||||||
case 10:
|
case 10:
|
||||||
targetUrl.pathname = `/command-center`
|
targetUrl.pathname = `/command-center`
|
||||||
break;
|
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;
|
window.location.href = targetUrl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user