mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-15 21:39:58 +00:00
16 lines
291 B
Vue
16 lines
291 B
Vue
<script setup lang="ts">
|
|
definePageMeta({
|
|
name: 'status-by-id',
|
|
middleware: async (to) => {
|
|
const params = to.params
|
|
const id = params.status as string
|
|
const status = await fetchStatus(id)
|
|
return getStatusRoute(status)
|
|
},
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<div />
|
|
</template>
|