diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-08 11:26:17 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-11 09:37:26 +0200 |
commit | e0b1231b2075e81afe06c2df4fdf55e148f05f3a (patch) | |
tree | dead1349c36073bb177c5028a9fb6dac094cf0ce /client/src/app/+videos | |
parent | ab7b4f525b2edef5379ed8eb6abe223186380197 (diff) | |
download | PeerTube-e0b1231b2075e81afe06c2df4fdf55e148f05f3a.tar.gz PeerTube-e0b1231b2075e81afe06c2df4fdf55e148f05f3a.tar.zst PeerTube-e0b1231b2075e81afe06c2df4fdf55e148f05f3a.zip |
Fix autoblock message on upload page
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r-- | client/src/app/+videos/+video-edit/video-add.component.html | 2 | ||||
-rw-r--r-- | client/src/app/+videos/+video-edit/video-add.component.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+videos/+video-edit/video-add.component.html b/client/src/app/+videos/+video-edit/video-add.component.html index 7dd9ba357..29cf08e75 100644 --- a/client/src/app/+videos/+video-edit/video-add.component.html +++ b/client/src/app/+videos/+video-edit/video-add.component.html | |||
@@ -15,7 +15,7 @@ | |||
15 | </ng-container> | 15 | </ng-container> |
16 | 16 | ||
17 | <ng-container *ngIf="!user.isUploadDisabled()"> | 17 | <ng-container *ngIf="!user.isUploadDisabled()"> |
18 | <div *ngIf="user.isAutoBlocked()" class="upload-message auto-blocked alert alert-warning"> | 18 | <div *ngIf="user.isAutoBlocked(serverConfig)" class="upload-message auto-blocked alert alert-warning"> |
19 | <div>{{ uploadMessages.autoBlock }}</div> | 19 | <div>{{ uploadMessages.autoBlock }}</div> |
20 | <ng-template [ngTemplateOutlet]="AlertButtons" *ngIf="!hasNoQuotaLeft && !hasNoQuotaLeftDaily"></ng-template> | 20 | <ng-template [ngTemplateOutlet]="AlertButtons" *ngIf="!hasNoQuotaLeft && !hasNoQuotaLeftDaily"></ng-template> |
21 | </div> | 21 | </div> |
diff --git a/client/src/app/+videos/+video-edit/video-add.component.ts b/client/src/app/+videos/+video-edit/video-add.component.ts index 46881be4e..bcb2fc4fa 100644 --- a/client/src/app/+videos/+video-edit/video-add.component.ts +++ b/client/src/app/+videos/+video-edit/video-add.component.ts | |||
@@ -43,7 +43,7 @@ export class VideoAddComponent implements OnInit, CanComponentDeactivate { | |||
43 | hasNoQuotaLeft = false | 43 | hasNoQuotaLeft = false |
44 | hasNoQuotaLeftDaily = false | 44 | hasNoQuotaLeftDaily = false |
45 | 45 | ||
46 | private serverConfig: HTMLServerConfig | 46 | serverConfig: HTMLServerConfig |
47 | 47 | ||
48 | constructor ( | 48 | constructor ( |
49 | private auth: AuthService, | 49 | private auth: AuthService, |