Refactoring: remove slot name; fix logout button

This commit is contained in:
Pieter Vander Vennet 2023-12-04 16:09:30 +01:00
parent 2156c42390
commit baf858bc21
5 changed files with 15 additions and 3 deletions

View file

@ -161,7 +161,7 @@
2. What do we want to add?
3. Are all elements of this category visible? (i.e. there are no filters possibly hiding this, is the data still loading, ...) -->
<LoginButton osmConnection={state.osmConnection} slot="not-logged-in">
<Tr slot="message" t={Translations.t.general.add.pleaseLogin} />
<Tr t={Translations.t.general.add.pleaseLogin} />
</LoginButton>
<div class="h-full w-full">
{#if $zoom < Constants.minZoomLevelToAddNewPoint}