24 lines
534 B
Vue
24 lines
534 B
Vue
<script setup>
|
|
|
|
const profileStore = useProfileStore()
|
|
|
|
|
|
|
|
</script>
|
|
|
|
<template>
|
|
<div class="w-1/2 mx-auto">
|
|
<p class="text-2xl mb-5 text-center">Bitte wähle dein gewünschtes Profil</p>
|
|
<div v-for="profile in profileStore.ownProfiles" class="flex justify-between my-3">
|
|
{{profileStore.tenants.find(i => i.id === profile.tenant).name}}
|
|
<UButton
|
|
variant="outline"
|
|
@click="profileStore.changeProfile(profile.id)"
|
|
>Auswählen</UButton>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
|
|
</style> |