Skip to content

Commit 7395e09

Browse files
authored
Merge pull request #154 from cmu-delphi/OKRS24-221
OKRS24-221 Fixed data visualisation section.
2 parents c79fc12 + ac23ed5 commit 7395e09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/templates/signals/data_visualization_export.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ <h5>Plot / Export data</h5>
6262
<select id="geographic_type" name="geographic_type" class="form-select">
6363
<option selected>Choose...</option>
6464
{% for geography in signal.available_geography.all %}
65-
<option>{{ geography }}</option>
65+
<option value="{{ geography.name }}">{{ geography }}</option>
6666
{% endfor %}
6767
</select>
6868
</div>
@@ -209,7 +209,7 @@ <h5>Plot / Export data</h5>
209209
$(document).ready(function () {
210210
{% for geography in signal.available_geography.all %}
211211
{% for unit in geography.geography_units.all %}
212-
geoValues.push({'id': '{{ unit.geo_id }}', 'geoType': '{{ unit.geography }}', 'text': '{{ unit.display_name }}'});
212+
geoValues.push({'id': '{{ unit.geo_id }}', 'geoType': '{{ unit.geography.name }}', 'text': '{{ unit.display_name }}'});
213213
{% endfor %}
214214
{% endfor %}
215215

0 commit comments

Comments
 (0)