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:
parent
0fa77a9f23
commit
71d215d613
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in New Issue