mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 08:33:11 +00:00
fix: modals not reacting after several uses
This commit is contained in:
committed by
Rainer Killinger
parent
848d2574c7
commit
f39c29f10b
@@ -39,7 +39,6 @@ export class OffersInListComponent {
|
||||
this.settingsProvider.getSetting('profile', 'group').then(group => {
|
||||
this.price =
|
||||
it[0].prices?.[(group.value as string).replace(/s$/, '') as never];
|
||||
console.log(group.value);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -20,22 +20,7 @@
|
||||
<stapps-data-list-item
|
||||
[item]="dish"
|
||||
[hideThumbnail]="true"
|
||||
[id]="'show-dish-in-modal-' + i"
|
||||
></stapps-data-list-item>
|
||||
<ion-modal
|
||||
*ngIf="openAsModal"
|
||||
[trigger]="'show-dish-in-modal-' + i"
|
||||
swipe-to-close="true"
|
||||
[presentingElement]="routerOutlet.nativeEl"
|
||||
class="modal-large"
|
||||
>
|
||||
<ng-template>
|
||||
<stapps-data-detail-content
|
||||
[item]="dish"
|
||||
[showModalHeader]="true"
|
||||
></stapps-data-detail-content>
|
||||
</ng-template>
|
||||
</ion-modal>
|
||||
</ng-container>
|
||||
</ion-list>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user