| 1 | <template> |
| 2 | <div class="page"> |
| 3 | <DashboardViewer :dashboard-id /> |
| 4 | </div> |
| 5 | </template> |
| 6 | |
| 7 | <script setup lang="ts"> |
| 8 | import { computed } from "vue" |
| 9 | import { useRoute } from "vue-router" |
| 10 | import DashboardViewer from "@/components/dashboards/DashboardViewer.vue" |
| 11 | |
| 12 | const route = useRoute() |
| 13 | const dashboardId = computed(() => Number(route.params.id)) |
| 14 | </script> |