Disable comment submit button when sending the comment

This commit is contained in:
Chocobozzz 2018-07-16 15:01:32 +02:00
parent a920fef10a
commit 0d16506cce
No known key found for this signature in database
GPG Key ID: 583A612D890159BE

View File

@ -14,7 +14,7 @@
</div> </div>
<div class="submit-comment"> <div class="submit-comment">
<button *ngIf="isAddButtonDisplayed()" [ngClass]="{ disabled: !form.valid }" i18n> <button *ngIf="isAddButtonDisplayed()" [ngClass]="{ disabled: !form.valid || addingComment }" i18n>
Post comment Post comment
</button> </button>
</div> </div>