mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +02:00
Lazy load notifications dropdown
This commit is contained in:
parent
2ebfe772ed
commit
6c6740aded
5 changed files with 11 additions and 12 deletions
|
@ -90,7 +90,7 @@ export class HorizontalMenuComponent implements OnInit, OnChanges, OnDestroy {
|
|||
})
|
||||
|
||||
if (!entry) {
|
||||
if (this.menuEntries.length !== 0) {
|
||||
if (this.menuEntries.length !== 0 && currentUrl !== '/') {
|
||||
logger.info(`Unable to find entry for ${currentUrl} or ${currentComponentPath}`, { menuEntries: this.menuEntries })
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue