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