Load dev build on device_list

This commit is contained in:
RubenPX 2022-05-18 11:16:22 +02:00
parent e6399e9729
commit 79ce3dfc59

View file

@ -455,5 +455,11 @@
perPage: 20 perPage: 20
}) })
</script> </script>
{% if config['DEBUG'] %}
<script src="{{ url_for('static', filename='js/main_inventory.js') }}"></script>
{% else %}
<script src="{{ url_for('static', filename='js/main_inventory.build.js') }}"></script> <script src="{{ url_for('static', filename='js/main_inventory.build.js') }}"></script>
{% endif %}
{% endblock main %} {% endblock main %}