Fix build

This commit is contained in:
pietervdvn 2021-07-14 10:05:10 +02:00
parent 196894cca7
commit 99512724e0
2 changed files with 2 additions and 2 deletions

View file

@ -225,7 +225,7 @@ export interface LayerConfigJson {
* If 'preferredBackgroundCategory' is set, the element will attempt to pick a background layer of that category.
*/
preciseInput?: true | {
preferredBackground: "osmbasedmap" | "photo" | "historicphoto" | "map"
preferredBackground: "osmbasedmap" | "photo" | "historicphoto" | "map" | string
}
}[],

View file

@ -114,7 +114,7 @@ export default class GeoLocationHandler extends VariableUiElement {
});
this.onClick(() => {
if (self._isActive.data) {
if (self._hasLocation.data) {
self._isLocked.setData(!self._isLocked.data);
}
self.init(true);