2022-11-13 16:05:32 +00:00
|
|
|
<script setup lang="ts">
|
2022-11-25 23:49:56 +00:00
|
|
|
definePageMeta({
|
2022-11-30 17:15:18 +00:00
|
|
|
name: 'status-by-id',
|
2022-11-25 23:49:56 +00:00
|
|
|
middleware: async (to) => {
|
|
|
|
const params = to.params
|
|
|
|
const id = params.status as string
|
|
|
|
const status = await fetchStatus(id)
|
2022-11-30 17:15:18 +00:00
|
|
|
return getStatusRoute(status)
|
2022-11-26 04:08:17 +00:00
|
|
|
},
|
2022-11-25 23:49:56 +00:00
|
|
|
})
|
2022-11-13 16:05:32 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2022-11-25 23:49:56 +00:00
|
|
|
<div />
|
2022-11-13 16:05:32 +00:00
|
|
|
</template>
|