+
+ isManageable () {
+ if (!this.isUserLoggedIn()) return false
+
+ return this.videoChannel?.ownerAccount.userId === this.authService.getUser().id
+ }
+
+ activateCopiedMessage () {
+ this.notifier.success($localize`Username copied`)
+ }
+
+ hasShowMoreDescription () {
+ return !this.channelDescriptionExpanded && this.channelDescriptionHTML.length > 100
+ }
+
+ showSupportModal () {
+ this.supportModal.show()
+ }
+
+ getAccountUrl () {
+ return [ '/a', this.videoChannel.ownerBy ]
+ }
+
+ private loadChannelVideosCount () {
+ this.videoService.getVideoChannelVideos({
+ videoChannel: this.videoChannel,
+ videoPagination: {
+ currentPage: 1,
+ itemsPerPage: 0
+ },
+ sort: '-publishedAt'
+ }).subscribe(res => this.channelVideosCount = res.total)
+ }