chore: fix small typing issues, formatting
This commit is contained in:
parent
54729b3c33
commit
6fa75505de
3 changed files with 1 additions and 3 deletions
|
@ -41,7 +41,6 @@ export class ActionButtons extends Combine {
|
||||||
readonly currentBounds: Store<BBox>
|
readonly currentBounds: Store<BBox>
|
||||||
readonly locationControl: Store<Loc>
|
readonly locationControl: Store<Loc>
|
||||||
readonly osmConnection: OsmConnection
|
readonly osmConnection: OsmConnection
|
||||||
readonly isTranslator: Store<boolean>
|
|
||||||
readonly featureSwitchMoreQuests: Store<boolean>
|
readonly featureSwitchMoreQuests: Store<boolean>
|
||||||
}) {
|
}) {
|
||||||
const imgSize = "h-6 w-6"
|
const imgSize = "h-6 w-6"
|
||||||
|
|
|
@ -24,7 +24,6 @@ export default class ThemeIntroductionPanel extends Combine {
|
||||||
osmConnection: OsmConnection
|
osmConnection: OsmConnection
|
||||||
currentBounds: Store<BBox>
|
currentBounds: Store<BBox>
|
||||||
locationControl: UIEventSource<Loc>
|
locationControl: UIEventSource<Loc>
|
||||||
isTranslator: Store<boolean>
|
|
||||||
},
|
},
|
||||||
guistate?: { userInfoIsOpened: UIEventSource<boolean> }
|
guistate?: { userInfoIsOpened: UIEventSource<boolean> }
|
||||||
) {
|
) {
|
||||||
|
|
|
@ -74,7 +74,7 @@ class SingleUserSettingsPanel extends EditableTagRendering {
|
||||||
if (kv.k.startsWith("_")) {
|
if (kv.k.startsWith("_")) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
osmConnection.GetPreference(kv.k, "", {prefix: ""}).setData(kv.v)
|
osmConnection.GetPreference(kv.k, "", { prefix: "" }).setData(kv.v)
|
||||||
}
|
}
|
||||||
|
|
||||||
editMode.setData(false)
|
editMode.setData(false)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue