diff options
| author | sowgro <tpoke.ferrari@gmail.com> | 2025-04-04 10:48:31 -0400 | 
|---|---|---|
| committer | sowgro <tpoke.ferrari@gmail.com> | 2025-04-04 10:48:31 -0400 | 
| commit | a5567b2ed092af3a50da75eef28d46c06760a266 (patch) | |
| tree | b6459801cf26d91147835e3039abd9c8e7ac0453 /ufund-ui/src/app/components/cupboard/cupboard.component.html | |
| parent | 43b036dc8ac03100787ec691a4f4ebe3670f861f (diff) | |
| download | JellySolutions-a5567b2ed092af3a50da75eef28d46c06760a266.tar.gz JellySolutions-a5567b2ed092af3a50da75eef28d46c06760a266.tar.bz2 JellySolutions-a5567b2ed092af3a50da75eef28d46c06760a266.zip  | |
Improve add to basket feedback
Diffstat (limited to 'ufund-ui/src/app/components/cupboard/cupboard.component.html')
| -rw-r--r-- | ufund-ui/src/app/components/cupboard/cupboard.component.html | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/ufund-ui/src/app/components/cupboard/cupboard.component.html b/ufund-ui/src/app/components/cupboard/cupboard.component.html index c055c31..71c258e 100644 --- a/ufund-ui/src/app/components/cupboard/cupboard.component.html +++ b/ufund-ui/src/app/components/cupboard/cupboard.component.html @@ -18,7 +18,7 @@                      {{SortingAlgorithms[algorithm].display[sortMode === 'Ascending' ? 0 : 1]}}                  </option>              </select> -            <button (click)="toggleSortMode(searchForm.value)"> +            <button (click)="toggleSortMode(searchForm.value)" [title]="sortMode">                  <span class="icon">{{sortMode === 'Ascending' ? 'arrow_upward': 'arrow_downward'}}</span>              </button>              <label>Needs per page: </label> @@ -30,8 +30,8 @@      <h2 *ngIf="searchResults.length == 0"> No Results Found </h2>      <ng-template let-need #NLActions> -        <button *ngIf="isHelper()" (click)="addToBasket(need)"> -            <span class="icon">add</span>Add To Basket +        <button *ngIf="isHelper()" (click)="addToBasket(need)" [disabled]="inBasket(usersService.getBasket() | async, need)"> +            <span class="icon">{{inBasket(usersService.getBasket() | async, need)? "check": "add" }}</span>Add To Basket          </button>          <button *ngIf="isManager()" (click)="select(need)">              <span class="icon">edit</span>Edit Need  | 
