We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2b5c3c0 + fbb4174 commit 11952f1Copy full SHA for 11952f1
1 file changed
app/components/app_patient_session_programme_component.rb
@@ -45,8 +45,8 @@ def colour
45
end
46
47
def details
48
- if latest_triage
49
- triage_summary(latest_triage)
+ if latest_triage && (summary = triage_summary(latest_triage)).present?
+ summary
50
elsif programme_status.due?
51
criteria_label =
52
I18n.t(
0 commit comments