chore: sync local workspace changes
This commit is contained in:
@@ -13,7 +13,7 @@ export type MainViewInitialNavigation = {
|
||||
export function resolveInitialNavigation(): MainViewInitialNavigation {
|
||||
if (typeof window === 'undefined') {
|
||||
return {
|
||||
activeTopMenu: 'plans',
|
||||
activeTopMenu: 'chat',
|
||||
selectedPlanMenu: 'all',
|
||||
selectedPlayMenu: 'layout',
|
||||
initialSelectedPlanId: null,
|
||||
@@ -26,7 +26,7 @@ export function resolveInitialNavigation(): MainViewInitialNavigation {
|
||||
const requestedTopMenu: TopMenuKey =
|
||||
topMenuParam === 'docs' || topMenuParam === 'apis' || topMenuParam === 'plans' || topMenuParam === 'chat' || topMenuParam === 'play'
|
||||
? topMenuParam
|
||||
: 'plans';
|
||||
: 'chat';
|
||||
const planFilterParam = params.get('planFilter');
|
||||
const selectedPlanMenu =
|
||||
planFilterParam === 'release'
|
||||
@@ -45,6 +45,10 @@ export function resolveInitialNavigation(): MainViewInitialNavigation {
|
||||
selectedPlayMenu:
|
||||
playSectionParam === 'layout'
|
||||
? 'layout'
|
||||
: playSectionParam === 'test'
|
||||
? 'test'
|
||||
: playSectionParam === 'cbt'
|
||||
? 'cbt'
|
||||
: playSectionParam === 'layout-record' && playLayoutIdParam
|
||||
? resolveSavedLayoutMenuKey(playLayoutIdParam)
|
||||
: 'layout',
|
||||
|
||||
Reference in New Issue
Block a user