FEATURE: only show update if you're on a saved page.

This commit is contained in:
walljm 2017-01-21 09:48:56 -05:00
parent a6b585eba0
commit d21186be53

View File

@ -6,11 +6,14 @@
</ion-header>
<ion-content>
<ion-list-header>
Current Page: {{title}}
</ion-list-header>
<ion-list>
<button ion-item menuClose="actions" (click)="addPage()">
<ion-icon name="bookmarks" item-left></ion-icon>Save Current Results as Page
<ion-icon name="bookmarks" item-left></ion-icon>Save Current Results as New Page
</button>
<button ion-item menuClose="actions" (click)="updatePage()">
<button *ngIf="title !== 'Search'" ion-item menuClose="actions" (click)="updatePage()">
<ion-icon name="arrow-up" item-left></ion-icon>Update Page with current Results
</button>
</ion-list>
@ -32,7 +35,6 @@
</ion-header>
<ion-content #searchcontent padding class="search-card">
<span style="font-size: .8em; color: #555;">CURRENT PAGE: {{title}}</span>
<ion-card *ngFor="let item of userProfile.user.items">
<passage *ngIf="isPassage(item.type)"
[cardItem]="item"