From aaa8c1da7c8b197e7897d90d9e149b69ddfc46b1 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 16 Dec 2022 17:43:39 +0100 Subject: [PATCH] Fix logout button --- UI/BigComponents/UserInformation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/BigComponents/UserInformation.ts b/UI/BigComponents/UserInformation.ts index 7800d4142..1e98315ea 100644 --- a/UI/BigComponents/UserInformation.ts +++ b/UI/BigComponents/UserInformation.ts @@ -127,7 +127,7 @@ class UserInformationMainPanel extends Combine { new ImportViewerLinks(osmConnection), new SubtleButton(Svg.logout_svg(), Translations.t.general.logout, { imgSize, - }).onClick(osmConnection.LogOut), + }).onClick(() => {osmConnection.LogOut()}), ]) }) ).SetClass("flex flex-col"),