mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 16:42:56 +00:00
Resolve "Very unusual back button behavior"
This commit is contained in:
@@ -18,17 +18,7 @@
|
||||
<ion-header class="ion-no-border" translucent="true">
|
||||
<ion-toolbar color="primary" mode="ios">
|
||||
<ion-buttons slot="start">
|
||||
<ion-back-button
|
||||
*ngIf="items.length !== 1"
|
||||
[defaultHref]="'..'"
|
||||
[text]="'back' | translate | titlecase"
|
||||
></ion-back-button>
|
||||
<ion-back-button
|
||||
*ngIf="items.length === 1"
|
||||
[defaultHref]="'..'"
|
||||
[text]="'back' | translate | titlecase"
|
||||
(click)="resetView()"
|
||||
></ion-back-button>
|
||||
<ion-back-button></ion-back-button>
|
||||
</ion-buttons>
|
||||
<ion-title>{{ 'map.page.TITLE' | translate }}</ion-title>
|
||||
</ion-toolbar>
|
||||
|
||||
Reference in New Issue
Block a user