Skip to content

Commit

Permalink
Loss metadata vulnerabilities were incorrectly linked to exposures
Browse files Browse the repository at this point in the history
  • Loading branch information
lydiascarf committed Jun 14, 2024
1 parent 4ccaf60 commit d6d3411
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _includes/display/dataset_link.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
{% assign linked_id = page[risk_data_type].hazard_id %}
{% elsif field_name == "exposure_id" %}
{% assign linked_id = page[risk_data_type].exposure_id %}
{% elsif field_name == "vulnerability_id" %}
{% assign linked_id = page[risk_data_type].vulnerability_id %}
{% endif %}

{% assign linked_dataset = site.datasets | where:"dataset_id", linked_id | first %}
Expand Down

0 comments on commit d6d3411

Please sign in to comment.