import { I18n } from '@ngx-translate/i18n-polyfill'
import { VideoChannelService } from '@app/shared/video-channel/video-channel.service'
import { VideoChannel } from '@app/shared/video-channel/video-channel.model'
+import { ListOverflowItem } from '@app/shared/misc/list-overflow.component'
@Component({
templateUrl: './accounts.component.html',
account: Account
accountUser: User
videoChannels: VideoChannel[] = []
+ links: ListOverflowItem[] = []
isAccountManageable = false
accountFollowerTitle = ''
err => this.notifier.error(err.message)
)
+
+ this.links = [
+ { label: this.i18n('Video channels'), routerLink: 'video-channels' },
+ { label: this.i18n('Videos'), routerLink: 'videos' },
+ { label: this.i18n('About'), routerLink: 'about' }
+ ]
}
ngOnDestroy () {