Ignore:
Timestamp:
11/26/21 20:07:18 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
1ad8e64
Parents:
e29cc2e
Message:

disabling to add location if it already exists in the planner

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trip-planner-front/src/app/location/add-location-to-planner-panel/add-location-to-planner-panel.component.html

    re29cc2e r8d391a1  
    77        </tr>
    88    </ng-template>
    9     <ng-template pTemplate="body" let-planner>
     9    <ng-template pTemplate="body" let-planner let-data>
    1010        <tr>
    1111            <td>{{planner.name}}</td>
    12 
    1312            <td>
    14                 <button pButton pRipple type="button" icon="pi pi-heart"
    15                     class="p-button-rounded p-button-help p-button-text" (click)="selectPlanner(planner)"></button>
     13                <button pButton pRipple type="button" icon="pi pi-heart" class="p-button-rounded p-button-help"
     14                    (click)="selectPlanner(planner)" ></button>
    1615            </td>
    1716        </tr>
Note: See TracChangeset for help on using the changeset viewer.