Tweaks to import flow

This commit is contained in:
Pieter Vander Vennet 2022-03-10 23:20:50 +01:00
parent 3fb7cc90fc
commit ce017e0341
6 changed files with 8970 additions and 71 deletions

View file

@ -191,7 +191,7 @@ ${Utils.special_visualizations_importRequirementDocs}
importFlow,
isImported
),
t.zoomInMore,
t.zoomInMore.SetClass("alert"),
state.locationControl.map(l => l.zoom >= 18)
),
pleaseLoginButton,

View file

@ -71,7 +71,7 @@ export default class NewNoteUi extends Toggle {
new Combine([new Toggle(undefined, t.warnAnonymous.SetClass("alert"), state?.osmConnection?.isLoggedIn),
new Toggle(postNote,
t.textNeeded.SetClass("alert"),
text.GetValue().map(txt => txt.length > 3)
text.GetValue().map(txt => txt?.length > 3)
)
]).SetClass("flex justify-end items-center")