mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 00:23:03 +00:00
fix: adjust code to overcome the breaking changes (ionic 4 to 5)
Closes #70
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
<ion-menu type="overlay" menuId="context" side="end">
|
||||
<ion-menu type="overlay" menuId="context" contentId="data-list" side="end">
|
||||
<ion-card-header>
|
||||
<ion-toolbar>
|
||||
<ion-buttons slot="right">
|
||||
<ion-back-button></ion-back-button>
|
||||
</ion-buttons>
|
||||
<ion-title>{{'menu.context.title' | translate | titlecase}}</ion-title>
|
||||
</ion-toolbar>
|
||||
</ion-card-header>
|
||||
@@ -42,10 +39,12 @@
|
||||
*ngFor="let facet of !filterOption.compact ?
|
||||
filterOption.options.slice(0, compactFilterOptionCount) : filterOption.options">
|
||||
<ion-list-header class="h3">
|
||||
{{(facet.onlyOnType ?
|
||||
getTranslatedPropertyName(facet.field, facet.onlyOnType)
|
||||
: (getTranslatedPropertyName(facet.field))) | titlecase}}
|
||||
{{facet.onlyOnType? ' | ' + (getTranslatedType(facet.onlyOnType) | titlecase) : ''}}
|
||||
<ion-label>
|
||||
{{(facet.onlyOnType ?
|
||||
getTranslatedPropertyName(facet.field, facet.onlyOnType)
|
||||
: (getTranslatedPropertyName(facet.field))) | titlecase}}
|
||||
{{facet.onlyOnType? ' | ' + (getTranslatedType(facet.onlyOnType) | titlecase) : ''}}
|
||||
</ion-label>
|
||||
</ion-list-header>
|
||||
<div *ngIf="facet.buckets.length > 0">
|
||||
<ion-item
|
||||
@@ -77,4 +76,3 @@
|
||||
</div>
|
||||
</ion-content>
|
||||
</ion-menu>
|
||||
<ion-router-outlet main></ion-router-outlet>
|
||||
|
||||
Reference in New Issue
Block a user