Skip to content

Commit

Permalink
Merge pull request #79 from cmu-delphi/development
Browse files Browse the repository at this point in the history
Fixed 'build plot' modal window
  • Loading branch information
dmytrotsko authored Jan 2, 2025
2 parents 28a56e5 + c2f810b commit 76f4c4f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/signal_sets/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def get_context_data(self, **kwargs: Any) -> dict[str, Any]:
)
context["signal_sets"] = self.get_queryset()
context["related_signals"] = json.dumps(self.get_related_signals())
context["available_geographies"] = Geography.objects.all()
context["geographic_granularities"] = [{"id": str(geo_unit.id), "text": geo_unit.display_name} for geo_unit in GeographyUnit.objects.all()]
return context

Expand Down
1 change: 0 additions & 1 deletion src/templates/signal_sets/signal_sets.html
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,6 @@ <h2 class="accordion-header" id="flush-heading_{{ form.data_source.auto_id }}">
signal: element.dataset.signal,
time_type: element.dataset.timetype,
});
console.log(element.dataset);
updateSelectedSignals(element.dataset.datasource, element.dataset.signalDisplayname, element.dataset.signalSet, element.dataset.signal);
} else {
checkedSignalMembers = checkedSignalMembers.filter(signal => signal.signal !== element.dataset.signal);
Expand Down

0 comments on commit 76f4c4f

Please sign in to comment.