Fix logout button

This commit is contained in:
Pieter Vander Vennet 2022-12-16 17:43:39 +01:00
parent e13d688ffd
commit aaa8c1da7c

View file

@ -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"),