Show claim block height in the portal status panel

'held since block XXXXXX in orange/green' instead of just 'held by
orange' — the backend already returned claimed_at_block (routes/places.ts),
it just wasn't wired into the frontend Place type or the status display.
This commit is contained in:
2026-08-05 17:42:38 +00:00
parent bb03bfc365
commit ab5fe5cb96
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -14,6 +14,7 @@ export interface Place {
claim_team: Team | null; claim_team: Team | null;
claimed_by_pubkey: string | null; claimed_by_pubkey: string | null;
claimed_at: number | null; claimed_at: number | null;
claimed_at_block: number | null;
} }
export interface LinkRow { export interface LinkRow {
+1 -1
View File
@@ -272,7 +272,7 @@ watch(linkSourceId, redraw);
class="font-bold uppercase" class="font-bold uppercase"
:class="selectedPlace.claim_team === 'orange' ? 'text-orange-neon text-glow-orange' : 'text-green-neon text-glow-green'" :class="selectedPlace.claim_team === 'orange' ? 'text-orange-neon text-glow-orange' : 'text-green-neon text-glow-green'"
> >
held by {{ selectedPlace.claim_team }} held since block {{ selectedPlace.claimed_at_block ?? '?' }} in {{ selectedPlace.claim_team }}
</span> </span>
</p> </p>