From 5427a4cb0519f0e840d73717a0369fb959668eea Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Wed, 17 May 2023 15:21:58 +0200 Subject: [PATCH] Tests: always update the selected element if running from console --- Logic/Actors/SelectedElementTagsUpdater.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Logic/Actors/SelectedElementTagsUpdater.ts b/Logic/Actors/SelectedElementTagsUpdater.ts index f3a146bb3..91078a53b 100644 --- a/Logic/Actors/SelectedElementTagsUpdater.ts +++ b/Logic/Actors/SelectedElementTagsUpdater.ts @@ -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()