refactor: extract status badge into reusable component

This commit is contained in:
2026-06-13 10:24:44 +02:00 Unverified
parent 3530eea2b8
commit fcb2bc2f09
4 changed files with 51 additions and 57 deletions
@@ -50,7 +50,7 @@ const handleTakeReport = async (id: number) => {
>
<div>
<h6 class="mb-1">{{ report.address }}</h6>
<span class="badge bg-warning text-dark">{{ report.status }}</span>
<StatusBadge :status="report.status" />
</div>
<BIIcon name="it-chevron-right" size="sm" color="primary" />
</NuxtLink>