+ private async buildMenuSections () {
+ const menuSections = []
+
+ if (this.isLoggedIn) {
+ menuSections.push(
+ this.menuService.buildLibraryLinks(this.user?.canSeeVideosLink)
+ )
+ }
+
+ menuSections.push(
+ this.menuService.buildCommonLinks(this.htmlServerConfig)
+ )
+
+ this.menuSections = await this.hooks.wrapObject(menuSections, 'common', 'filter:left-menu.links.create.result')
+ }
+