2022-11-13 17:05:32 +01:00
|
|
|
<script setup lang="ts">
|
2022-11-26 00:49:56 +01:00
|
|
|
definePageMeta({
|
|
|
|
middleware: async (to) => {
|
|
|
|
const params = to.params
|
|
|
|
const id = params.status as string
|
|
|
|
const status = await fetchStatus(id)
|
|
|
|
return {
|
|
|
|
path: getStatusPath(status),
|
|
|
|
state: {
|
|
|
|
status,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
2022-11-13 17:05:32 +01:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2022-11-26 00:49:56 +01:00
|
|
|
<div />
|
2022-11-13 17:05:32 +01:00
|
|
|
</template>
|