fix: 🐛 remove redundant dataset_extent variable

Removed an unnecessary line that evaluates dataset_extent. This change improves code clarity and prevents potential issues related to unused variables.
This commit is contained in:
Maicol Battistini 2024-09-30 19:21:49 +02:00
parent 0fa77a9f23
commit 71d215d613
No known key found for this signature in database
1 changed files with 0 additions and 1 deletions

View File

@ -3,7 +3,6 @@
{% block primary_content_inner %} {% block primary_content_inner %}
{{ super() }} {{ super() }}
{% set dataset_extent = h.get_pkg_dict_extra(c.pkg_dict, 'spatial', '') %} {% set dataset_extent = h.get_pkg_dict_extra(c.pkg_dict, 'spatial', '') %}
{% dataset_extent %}
{% if dataset_extent %} {% if dataset_extent %}
{% snippet "spatial/snippets/dataset_map.html", extent=dataset_extent %} {% snippet "spatial/snippets/dataset_map.html", extent=dataset_extent %}
{% endif %} {% endif %}