refactor(frontend) : remove per-project statuses page and sidebar link

This commit is contained in:
Matthieu
2026-03-12 11:52:30 +01:00
parent 37a6cb5558
commit dac493b76d
3 changed files with 1 additions and 183 deletions

View File

@@ -1,32 +0,0 @@
<template>
<div>
<div class="flex items-center justify-between">
<h1 class="text-2xl font-bold text-primary-500">{{ project?.name ?? '' }} Statuts</h1>
</div>
<div class="mt-6">
<ProjectStatusTab :project-id="projectId" />
</div>
</div>
</template>
<script setup lang="ts">
import type { Project } from '~/services/dto/project'
import { useProjectService } from '~/services/projects'
const route = useRoute()
const projectId = computed(() => Number(route.params.id))
useHead({ title: 'Statuts du projet' })
const projectService = useProjectService()
const project = ref<Project | null>(null)
async function loadProject() {
project.value = await projectService.getById(projectId.value)
}
onMounted(() => {
loadProject()
})
</script>