Fix build, version bump

This commit is contained in:
pietervdvn 2021-11-30 19:19:53 +01:00
parent 6e9d4b327e
commit 950324901c
3 changed files with 4 additions and 2 deletions

View file

@ -2,7 +2,7 @@ import {Utils} from "../Utils";
export default class Constants {
public static vNumber = "0.12.10";
public static vNumber = "0.12.11";
public static ImgurApiKey = '7070e7167f0a25a'
public static readonly mapillary_client_token_v4 = "MLY|4441509239301885|b40ad2d3ea105435bd40c7e76993ae85"

View file

@ -22,6 +22,7 @@ import {Changes} from "../../Logic/Osm/Changes";
import FeaturePipeline from "../../Logic/FeatureSource/FeaturePipeline";
import {ElementStorage} from "../../Logic/ElementStorage";
import ConfirmLocationOfPoint from "../NewPoint/ConfirmLocationOfPoint";
import BaseLayer from "../../Models/BaseLayer";
/*
* The SimpleAddUI is a single panel, which can have multiple states:
@ -52,6 +53,7 @@ export default class SimpleAddUI extends Toggle {
locationControl: UIEventSource<Loc>,
filteredLayers: UIEventSource<FilteredLayer[]>,
featureSwitchFilter: UIEventSource<boolean>,
backgroundLayer: UIEventSource<BaseLayer>
}) {
const loginButton = new SubtleButton(Svg.osm_logo_ui(), Translations.t.general.add.pleaseLogin.Clone())
.onClick(() => state.osmConnection.AttemptLogin());

View file

@ -21,7 +21,7 @@ export default class ConfirmLocationOfPoint extends Combine {
state: {
osmConnection: OsmConnection,
featurePipeline: FeaturePipeline,
backgroundLayer: UIEventSource<BaseLayer>
backgroundLayer?: UIEventSource<BaseLayer>
},
filterViewIsOpened: UIEventSource<boolean>,
preset: PresetInfo,