forked from MapComplete/MapComplete
Refactoring: remove slot name; fix logout button
This commit is contained in:
parent
2156c42390
commit
baf858bc21
5 changed files with 15 additions and 3 deletions
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
<button class={clss} on:click={() => osmConnection.AttemptLogin()}>
|
||||
<ToSvelte construct={Svg.login_svg().SetClass("w-12 m-1")} />
|
||||
<slot name="message">
|
||||
<slot>
|
||||
<Tr t={Translations.t.general.loginWithOpenStreetMap} />
|
||||
</slot>
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<button
|
||||
on:click={() => {
|
||||
state.osmConnection.LogOut()
|
||||
osmConnection.LogOut()
|
||||
}}
|
||||
>
|
||||
<Logout class="h-6 w-6" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue