Skip to content

Commit 91e769a

Browse files
committed
Inject databag content into JS domain
1 parent d062406 commit 91e769a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

themes/vocabulary_theme/templates/issue_finder.html

+4
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,8 @@ <h1>Issue Finder</h1>
1919
<div id="vue-app">Loading...</div>
2020
</div>
2121
</div>
22+
<script>
23+
// Transfer all issues to the JavaScript domain
24+
window.issues = {{ bag('issues.issues')|tojson }}
25+
</script>
2226
{% endblock %}

0 commit comments

Comments
 (0)