refactor: extract status badge into reusable component
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user