Merge pull request #3857 from NoelDeMartin/MOBILE-4463

MOBILE-4463 dev: Fix logged out app settings
main
Dani Palou 2023-11-20 10:41:30 +01:00 committed by GitHub
commit e04c1e86c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>