bugfix: template regression from last commit (#3895)
This commit is contained in:
@@ -82,19 +82,21 @@
|
||||
<!-- scripts libraries -->
|
||||
{% for url in INCLUDED_JS %}
|
||||
<script src="{{ static_url_for('static', url) }}"></script>
|
||||
{% endfor %}
|
||||
{% endfor %} {% if user %}
|
||||
<!-- user init -->
|
||||
{% if user %}
|
||||
<script>
|
||||
window.g.user = LNbits.map.user(JSON.parse({{ user | tojson | safe }}));
|
||||
{% if not public %}
|
||||
window.g.isPublicPage = false
|
||||
{% endif %}
|
||||
window.app = Vue.createApp({
|
||||
el: '#vue',
|
||||
})
|
||||
</script>
|
||||
{% endif %}
|
||||
<!-- app init -->
|
||||
<script>
|
||||
window.app = Vue.createApp({
|
||||
el: '#vue'
|
||||
})
|
||||
</script>
|
||||
<!-- scripts from extensions -->
|
||||
{% block scripts %}{% endblock %}
|
||||
<!-- components js -->
|
||||
|
||||
Reference in New Issue
Block a user