diff options
author | Chocobozzz <me@florianbigard.com> | 2018-04-25 15:43:19 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-04-25 15:43:19 +0200 |
commit | d3e91a5f72ac9c986cdb67d7d6c85bb4819e680c (patch) | |
tree | 3c2406346c7774587ba4e095ab595e5953e25c61 /client/src/app/videos/+video-watch/comment/video-comment.component.ts | |
parent | 03e12d7c4954e1071fdeb7ef362ea5c3965d4075 (diff) | |
download | PeerTube-d3e91a5f72ac9c986cdb67d7d6c85bb4819e680c.tar.gz PeerTube-d3e91a5f72ac9c986cdb67d7d6c85bb4819e680c.tar.zst PeerTube-d3e91a5f72ac9c986cdb67d7d6c85bb4819e680c.zip |
Add video channel account list
Diffstat (limited to 'client/src/app/videos/+video-watch/comment/video-comment.component.ts')
-rw-r--r-- | client/src/app/videos/+video-watch/comment/video-comment.component.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/client/src/app/videos/+video-watch/comment/video-comment.component.ts b/client/src/app/videos/+video-watch/comment/video-comment.component.ts index 26fc9d0b8..e90008de9 100644 --- a/client/src/app/videos/+video-watch/comment/video-comment.component.ts +++ b/client/src/app/videos/+video-watch/comment/video-comment.component.ts | |||
@@ -1,11 +1,9 @@ | |||
1 | import { Component, EventEmitter, Input, OnChanges, OnInit, Output } from '@angular/core' | 1 | import { Component, EventEmitter, Input, OnChanges, OnInit, Output } from '@angular/core' |
2 | import { LinkifierService } from '@app/videos/+video-watch/comment/linkifier.service' | 2 | import { LinkifierService } from '@app/videos/+video-watch/comment/linkifier.service' |
3 | import * as sanitizeHtml from 'sanitize-html' | 3 | import * as sanitizeHtml from 'sanitize-html' |
4 | import { Account as AccountInterface } from '../../../../../../shared/models/actors' | ||
5 | import { UserRight } from '../../../../../../shared/models/users' | 4 | import { UserRight } from '../../../../../../shared/models/users' |
6 | import { VideoCommentThreadTree } from '../../../../../../shared/models/videos/video-comment.model' | 5 | import { VideoCommentThreadTree } from '../../../../../../shared/models/videos/video-comment.model' |
7 | import { AuthService } from '../../../core/auth' | 6 | import { AuthService } from '../../../core/auth' |
8 | import { Account } from '../../../shared/account/account.model' | ||
9 | import { Video } from '../../../shared/video/video.model' | 7 | import { Video } from '../../../shared/video/video.model' |
10 | import { VideoComment } from './video-comment.model' | 8 | import { VideoComment } from './video-comment.model' |
11 | 9 | ||
@@ -80,10 +78,6 @@ export class VideoCommentComponent implements OnInit, OnChanges { | |||
80 | this.resetReply.emit() | 78 | this.resetReply.emit() |
81 | } | 79 | } |
82 | 80 | ||
83 | getAvatarUrl (account: AccountInterface) { | ||
84 | return Account.GET_ACCOUNT_AVATAR_URL(account) | ||
85 | } | ||
86 | |||
87 | isRemovableByUser () { | 81 | isRemovableByUser () { |
88 | return this.isUserLoggedIn() && | 82 | return this.isUserLoggedIn() && |
89 | ( | 83 | ( |