2023-11-19 04:38:34 +01:00
|
|
|
<script lang="ts">
|
2023-12-01 15:23:28 +01:00
|
|
|
import { OsmConnection } from "../../Logic/Osm/OsmConnection"
|
|
|
|
import Translations from "../i18n/Translations"
|
|
|
|
import Tr from "./Tr.svelte"
|
2024-06-17 04:27:08 +02:00
|
|
|
import ArrowRightOnRectangle from "@babeard/svelte-heroicons/solid/ArrowRightOnRectangle"
|
2023-11-19 04:38:34 +01:00
|
|
|
|
2023-12-19 22:08:00 +01:00
|
|
|
export let osmConnection: OsmConnection
|
2024-08-29 03:53:54 +02:00
|
|
|
export let clss = ""
|
2023-11-19 04:38:34 +01:00
|
|
|
</script>
|
|
|
|
|
2023-12-01 15:23:28 +01:00
|
|
|
<button
|
2024-08-29 03:53:54 +02:00
|
|
|
class={clss}
|
2023-12-01 15:23:28 +01:00
|
|
|
on:click={() => {
|
2023-12-04 16:09:30 +01:00
|
|
|
osmConnection.LogOut()
|
2023-12-01 15:23:28 +01:00
|
|
|
}}
|
|
|
|
>
|
2024-09-02 12:48:15 +02:00
|
|
|
<ArrowRightOnRectangle class="h-6 max-h-full w-6" />
|
2023-11-22 19:39:19 +01:00
|
|
|
<Tr t={Translations.t.general.logout} />
|
2023-11-19 04:38:34 +01:00
|
|
|
</button>
|