MOBILE-4463 dev: Fix logged out app settings

main
Noel De Martin 2023-11-20 10:30:29 +01:00
parent 36a64612ed
commit 3a37758e7c
1 changed files with 25 additions and 21 deletions

View File

@ -53,29 +53,33 @@
</ion-label>
<ion-toggle [(ngModel)]="pluginStyles" (ionChange)="pluginStylesChanged()" slot="end"></ion-toggle>
</ion-item>
<ion-item class="ion-text-wrap" *ngIf="userToursEnabled">
<ion-label>
<p class="item-heading">Reset user tours</p>
</ion-label>
<ion-button (click)="resetUserTours()" aria-label="Reset user tours" fill="clear" slot="end">
<ion-icon slot="icon-only" aria-hidden="true" name="fas-repeat"></ion-icon>
</ion-button>
</ion-item>
<ion-item class="ion-text-wrap">
<ion-label>
<p class="item-heading">Invalidate caches</p>
</ion-label>
<ion-button (click)="invalidateCaches()" aria-label="Invalidate caches" fill="clear" slot="end">
<ion-icon slot="icon-only" aria-hidden="true" name="fas-rotate-right"></ion-icon>
</ion-button>
</ion-item>
</ng-container>
<ion-item class="ion-text-wrap" (click)="openErrorLog()" [detail]="true" button>
<ion-label>
<p class="item-heading">Error log</p>
</ion-label>
</ion-item>
<ion-item class="ion-text-wrap" *ngIf="userToursEnabled">
<ion-label>
<p class="item-heading">Reset user tours</p>
</ion-label>
<ion-button (click)="resetUserTours()" aria-label="Reset user tours" fill="clear" slot="end">
<ion-icon slot="icon-only" aria-hidden="true" name="fas-repeat"></ion-icon>
</ion-button>
</ion-item>
<ion-item class="ion-text-wrap">
<ion-label>
<p class="item-heading">Invalidate caches</p>
</ion-label>
<ion-button (click)="invalidateCaches()" aria-label="Invalidate caches" fill="clear" slot="end">
<ion-icon slot="icon-only" aria-hidden="true" name="fas-rotate-right"></ion-icon>
</ion-button>
</ion-item>
<ion-item class="ion-text-wrap" (click)="openErrorLog()" [detail]="true" button>
<ion-label>
<p class="item-heading">Error log</p>
</ion-label>
</ion-item>
<ng-container *ngIf="siteId">
<ion-item-divider>
<ion-label>
<h2>Disabled features</h2>