Skip to content

Commit 6c48a89

Browse files
committed
fix(spp_hazard): show empty state message in Emergency Response tab
Display informative text when no hazard impact records exist instead of showing a blank page.
1 parent ebbf3ee commit 6c48a89

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spp_hazard/views/registrant_views.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
<div class="alert alert-warning" role="alert" invisible="not has_active_impact">
2525
<span class="fw-bold">Active incident impacts recorded</span>
2626
</div>
27+
<p class="text-muted" invisible="hazard_impact_count != 0">
28+
No emergency response records yet. Impact records will appear here when this registrant is affected by a hazard incident.
29+
</p>
2730
<group name="hazard_impacts_section" string="Incident Impacts"
2831
invisible="hazard_impact_count == 0">
2932
<field name="hazard_impact_ids" nolabel="1" readonly="1" colspan="2">

0 commit comments

Comments
 (0)