This commit is contained in:
2024-09-27 17:20:37 +02:00
parent ee932a2339
commit f43e802501
59 changed files with 810 additions and 236 deletions
@@ -75,7 +75,7 @@
<td mat-cell *matCellDef="let element">
<mat-select placeholder="Select action">
<mat-option *ngIf="element.status == 'ready'" (click)="prepareSale(element)"><mat-icon>format_list_numbered</mat-icon> Prepare</mat-option>
<mat-option *ngIf="element.status == 'ready'" (click)="followSale(element)"><mat-icon>play_arrow</mat-icon> Follow</mat-option>
<mat-option *ngIf="element.status == 'ready' || element.status == 'endOnRequest' || element.status == 'endOnError'" (click)="followSale(element)"><mat-icon>play_arrow</mat-icon> Follow</mat-option>
<mat-option *ngIf="element.status == 'following'" (click)="stopFollowSale(element)"><mat-icon>stop</mat-icon> Stop Following</mat-option>
<mat-option *ngIf="element.status == 'following'" (click)="resetToReady(element._id)">Reset to Ready</mat-option>
<mat-option (click)="navigateToSaleDetail(element._id)"><mat-icon>info</mat-icon> Details</mat-option>