better boarding flow
This commit is contained in:
@@ -408,6 +408,12 @@ const magicActions = [{
|
||||
name: 'Goto: Switch Teams',
|
||||
icon: 'goto',
|
||||
sequence: ['main', 'redirect']
|
||||
},
|
||||
{
|
||||
id: 23,
|
||||
name: 'Goto: Boarding process',
|
||||
icon: 'goto',
|
||||
sequence: ['main', 'redirect']
|
||||
}
|
||||
]
|
||||
const initialState = {
|
||||
@@ -635,6 +641,9 @@ async function redirect() {
|
||||
case 22:
|
||||
targetUrl.pathname = `/team`
|
||||
break;
|
||||
case 23:
|
||||
targetUrl.pathname = `/boarding`
|
||||
break;
|
||||
}
|
||||
window.location.href = targetUrl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user