diff options
author | Chocobozzz <me@florianbigard.com> | 2018-10-01 09:04:43 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-10-01 09:04:43 +0200 |
commit | 59c9c5d9bb383cff118c4d8086cf3e3f43774404 (patch) | |
tree | 4d829cabca4d57dec8af02a5e065e4cea2ac131f /client/src/app/videos/+video-edit/video-add-components/video-upload.component.html | |
parent | 75f1d36218e2f2011845fcbf2e417c4524230668 (diff) | |
download | PeerTube-59c9c5d9bb383cff118c4d8086cf3e3f43774404.tar.gz PeerTube-59c9c5d9bb383cff118c4d8086cf3e3f43774404.tar.zst PeerTube-59c9c5d9bb383cff118c4d8086cf3e3f43774404.zip |
Fix error when clicking on the disabled publish button
Diffstat (limited to 'client/src/app/videos/+video-edit/video-add-components/video-upload.component.html')
-rw-r--r-- | client/src/app/videos/+video-edit/video-add-components/video-upload.component.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-edit/video-add-components/video-upload.component.html b/client/src/app/videos/+video-edit/video-add-components/video-upload.component.html index ff0e45413..fa57c8cb5 100644 --- a/client/src/app/videos/+video-edit/video-add-components/video-upload.component.html +++ b/client/src/app/videos/+video-edit/video-add-components/video-upload.component.html | |||
@@ -49,10 +49,10 @@ | |||
49 | 49 | ||
50 | <div class="submit-button" | 50 | <div class="submit-button" |
51 | (click)="updateSecondStep()" | 51 | (click)="updateSecondStep()" |
52 | [ngClass]="{ disabled: !form.valid || isUpdatingVideo === true || videoUploaded !== true }" | 52 | [ngClass]="{ disabled: isPublishingButtonDisabled() }" |
53 | > | 53 | > |
54 | <span class="icon icon-validate"></span> | 54 | <span class="icon icon-validate"></span> |
55 | <input type="button" i18n-value value="Publish" /> | 55 | <input [disabled]="isPublishingButtonDisabled()" type="button" i18n-value value="Publish" /> |
56 | </div> | 56 | </div> |
57 | </div> | 57 | </div> |
58 | </form> \ No newline at end of file | 58 | </form> \ No newline at end of file |