Skip to content

Commit

Permalink
Added support to avoid duplication on chiplist on issuing and requested
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgaspardev committed Dec 4, 2024
1 parent 150b406 commit e3c54a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
mode="indeterminate"
></mat-progress-bar>
<ng-container *ngIf="params?.currentStore && params?.storeLocations">
<mat-chip-list aria-label="Fish selection">
<mat-chip-list *ngIf="!params?.storeLocations" aria-label="Fish selection">
<mat-chip
[ngClass]="{ 'selected-store': params?.currentStore?.id === store?.id }"
(click)="onSetCurrentStore($event, store)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
mode="indeterminate"
></mat-progress-bar>
<ng-container *ngIf="params?.currentStore && params?.storeLocations">
<mat-chip-list aria-label="Fish selection">
<mat-chip-list *ngIf="!params?.storeLocations" aria-label="Fish selection">
<mat-chip
[ngClass]="{ 'selected-store': params?.currentStore?.id === store?.id }"
(click)="onSetCurrentStore($event, store)"
*ngFor="let store of params?.storeLocations"
>
{{ store?.display }}
{{ store?.display }}
</mat-chip>
</mat-chip-list>
<div class="mt-2">
Expand Down

0 comments on commit e3c54a8

Please sign in to comment.