Skip to content

Commit

Permalink
fix shp preview
Browse files Browse the repository at this point in the history
  • Loading branch information
smotornyuk committed Apr 8, 2021
1 parent 29b7b8b commit e0adac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/geoview/templates/dataviewer/shp.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% block page %}
{%- block styles %}
{% set type = 'asset' if h.ckan_version().split('.')[1] | int >= 9 else 'resource' %}
{% include 'geoview/snippets/openlayers_' ~ type ~ '.html' %}
{% include 'geoview/snippets/shp_' ~ type ~ '.html' %}
{% endblock %}

{% set map_config = h.get_common_map_config_shp() %}
Expand Down

0 comments on commit e0adac9

Please sign in to comment.