1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-08 01:49:58 +00:00
elk/components/account/AccountMe.client.vue

13 lines
373 B
Vue
Raw Normal View History

2022-11-15 15:48:23 +00:00
<script setup lang="ts">
const { currentUser } = useAppStore()
</script>
<template>
<div p4>
<!-- TODO: multiple account switcher -->
<AccountInfo v-if="currentUser?.account" :account="currentUser.account" />
<!-- TODO: dialog for select server -->
<a v-else href="/api/mas.to/login" px2 py1 bg-teal6 text-white m2 rounded>Login</a>
</div>
</template>