mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 00:52:55 +00:00
refactor: update to ionic v6
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
import {Component, Input, OnInit} from '@angular/core';
|
||||
import {SCPlace, SCSearchFilter} from '@openstapps/core';
|
||||
import {MapProvider} from '../../map.provider';
|
||||
import {ModalController} from '@ionic/angular';
|
||||
|
||||
/**
|
||||
* Modal showing a provided list of places
|
||||
@@ -25,11 +26,6 @@ import {MapProvider} from '../../map.provider';
|
||||
styleUrls: ['map-list.scss'],
|
||||
})
|
||||
export class MapListModalComponent implements OnInit {
|
||||
/**
|
||||
* Action when close is pressed
|
||||
*/
|
||||
@Input() dismissAction: () => void;
|
||||
|
||||
/**
|
||||
* Used for creating the search for the shown list
|
||||
*/
|
||||
@@ -45,7 +41,10 @@ export class MapListModalComponent implements OnInit {
|
||||
*/
|
||||
@Input() queryText?: string;
|
||||
|
||||
constructor(private mapProvider: MapProvider) {}
|
||||
constructor(
|
||||
private mapProvider: MapProvider,
|
||||
readonly modalController: ModalController,
|
||||
) {}
|
||||
|
||||
/**
|
||||
* Populate the list with the results from the search
|
||||
|
||||
Reference in New Issue
Block a user