Tests: always update the selected element if running from console

This commit is contained in:
Pieter Vander Vennet 2023-05-17 15:21:58 +02:00
parent 9f83893a02
commit 5427a4cb05

View file

@ -44,7 +44,7 @@ export default class SelectedElementTagsUpdater {
}) {
this.state = state
state.osmConnection.isLoggedIn.addCallbackAndRun((isLoggedIn) => {
if (!isLoggedIn) {
if (!isLoggedIn && !Utils.runningFromConsole) {
return
}
this.installCallback()