Fixed a small issue where the request button was appearing when it shouldn't be

pull/4210/head v4.0.1398
tidusjar 3 years ago
parent 7dd0812c95
commit 33dbf2a0e6

@ -65,7 +65,7 @@
</button>
</ng-template>
<ng-template #notRequestedBtn>
<button id="requestBtn" mat-raised-button class="btn-spacing" color="primary" (click)="request()">
<button *ngIf="!movie.requested" id="requestBtn" mat-raised-button class="btn-spacing" color="primary" (click)="request()">
<i *ngIf="movie.requestProcessing" class="fas fa-circle-notch fa-spin fa-fw"></i>
<i *ngIf="!movie.requestProcessing && !movie.processed" class="fas fa-plus"></i>
<i *ngIf="movie.processed && !movie.requestProcessing" class="fas fa-check"></i>

Loading…
Cancel
Save