Merge pull request #3053 from dpalou/MOBILE-3833
MOBILE-3833 core: Fix unable to reconnect (main/subscription path)main
commit
f8a69dec95
|
@ -46,6 +46,8 @@ export class CoreSortedDelegate<
|
|||
this.clearSortedHandlers();
|
||||
}
|
||||
});
|
||||
// Clear loaded handlers on login, there could be an invalid list loaded when user reconnects after token expired.
|
||||
CoreEvents.on(CoreEvents.LOGIN, this.clearSortedHandlers.bind(this));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -581,7 +581,7 @@ export class CoreNavigatorService {
|
|||
return '';
|
||||
}
|
||||
|
||||
const handlers = CoreMainMenuDelegate.getHandlers();
|
||||
const handlers = CoreMainMenuDelegate.getHandlers().filter((handler) => !handler.onlyInMore);
|
||||
|
||||
return handlers[0]?.page || '';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue