diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-17 14:42:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-18 08:35:06 +0200 |
commit | 9df52d660feb722404be00a50f3c8a612bec1c15 (patch) | |
tree | dde52880fa012874d24c60f64eb596b0a789cc8b /client/src/app/shared/shared-main/misc/top-menu-dropdown.component.ts | |
parent | adb8809d43648ea0a64d6845bb39aa3bd0e005a6 (diff) | |
download | PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.tar.gz PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.tar.zst PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.zip |
Migrate client to eslint
Diffstat (limited to 'client/src/app/shared/shared-main/misc/top-menu-dropdown.component.ts')
-rw-r--r-- | client/src/app/shared/shared-main/misc/top-menu-dropdown.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-main/misc/top-menu-dropdown.component.ts b/client/src/app/shared/shared-main/misc/top-menu-dropdown.component.ts index 2cafb6c55..e7e34ce1e 100644 --- a/client/src/app/shared/shared-main/misc/top-menu-dropdown.component.ts +++ b/client/src/app/shared/shared-main/misc/top-menu-dropdown.component.ts | |||
@@ -66,7 +66,7 @@ export class TopMenuDropdownComponent implements OnInit, OnDestroy { | |||
66 | .subscribe(() => this.updateChildLabels(window.location.pathname)) | 66 | .subscribe(() => this.updateChildLabels(window.location.pathname)) |
67 | 67 | ||
68 | this.hasIcons = this.menuEntries.some( | 68 | this.hasIcons = this.menuEntries.some( |
69 | e => e.children && e.children.some(c => !!c.iconName) | 69 | e => e.children?.some(c => !!c.iconName) |
70 | ) | 70 | ) |
71 | } | 71 | } |
72 | 72 | ||