27 lines
560 B
Vue
27 lines
560 B
Vue
<script setup lang="ts">
|
|
const auth = useAuthStore()
|
|
const router = useRouter()
|
|
|
|
onMounted(async () => {
|
|
if (!auth.user?.is_admin) {
|
|
await router.replace("/")
|
|
return
|
|
}
|
|
|
|
await router.replace("/administration/users")
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<UDashboardNavbar title="Administration" />
|
|
|
|
<UDashboardPanelContent>
|
|
<UAlert
|
|
title="Weiterleitung"
|
|
description="Die Administration wurde in eigene Bereiche fuer Benutzer und Tenants verschoben."
|
|
color="primary"
|
|
variant="soft"
|
|
/>
|
|
</UDashboardPanelContent>
|
|
</template>
|