Be consistent about using report.public_id over report.id

This commit is contained in:
Eli Ribble 2026-04-14 01:26:23 +00:00
parent 02139450c6
commit 3c62fe2ca1
No known key found for this signature in database
9 changed files with 19 additions and 29 deletions

View file

@ -5,15 +5,19 @@ body {
display: flex;
flex-direction: column;
}
body > .container-fluid {
flex: 1;
}
.progress-bar {
background-color: #0d6efd;
transition: width 0.3s ease;
}
.reference-number {
text-align: center;
color: #6c757d;
font-size: 0.9rem;
margin-top: 24px;
}
</style>
<template>
<template v-if="district">
@ -38,6 +42,12 @@ body > .container-fluid {
<template v-else>
<p>loading {{ slug }}...</p>
</template>
<!-- Reference Number -->
<div class="reference-number" v-if="report && report.public_id">
<small>
Reference number: <strong>{{ report.public_id }}</strong>
</small>
</div>
</template>
<script setup lang="ts">