forked from CIT/Vmeda.Online
		
	MOBILE-3833 core: Fix unable to reconnect (main/subscription path)
This commit is contained in:
		
							parent
							
								
									9c1553c46b
								
							
						
					
					
						commit
						396d221961
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user