fix qr link

This commit is contained in:
Cayo Puigdefabregas 2022-08-22 12:29:08 +02:00
parent 95c3803752
commit 2224fb890f
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@
<script src="{{ url_for('static', filename='js/print.pdf.js') }}"></script> <script src="{{ url_for('static', filename='js/print.pdf.js') }}"></script>
<script type="text/javascript"> <script type="text/javascript">
{% for dev in devices %} {% for dev in devices %}
qr_draw("{{ url_for('inventory.device_details', id=dev.devicehub_id, _external=True) }}", "#{{ dev.devicehub_id }}") qr_draw("{{ dev.public_link }}", "#{{ dev.devicehub_id }}")
{% endfor %} {% endfor %}
</script> </script>
{% endblock main %} {% endblock main %}