Skip to content

Commit

Permalink
do not show qr code for new assets
Browse files Browse the repository at this point in the history
  • Loading branch information
cconard96 committed Jan 8, 2025
1 parent cdc4a3f commit d377ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/generic_show_form.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@
{% endif %}
{% endfor %}

{% if item_type in config("asset_types") %}
{% if not item.isNewItem() and item_type in config("asset_types") %}
{% set barcode %}
{{ call('BarcodeManager::renderQRCode', [
item
Expand Down

0 comments on commit d377ace

Please sign in to comment.