diff options
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/shared-main/video/video.model.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-main/video/video.model.ts b/client/src/app/shared/shared-main/video/video.model.ts index adb6e884f..d51dfbc6d 100644 --- a/client/src/app/shared/shared-main/video/video.model.ts +++ b/client/src/app/shared/shared-main/video/video.model.ts | |||
@@ -180,7 +180,7 @@ export class Video implements VideoServerModel { | |||
180 | } | 180 | } |
181 | 181 | ||
182 | isRemovableBy (user: AuthUser) { | 182 | isRemovableBy (user: AuthUser) { |
183 | return user && this.isLocal === true && (this.account.name === user.username || user.hasRight(UserRight.REMOVE_ANY_VIDEO)) | 183 | return user && this.isLocal === true && user.hasRight(UserRight.REMOVE_ANY_VIDEO) |
184 | } | 184 | } |
185 | 185 | ||
186 | isBlockableBy (user: AuthUser) { | 186 | isBlockableBy (user: AuthUser) { |