Keep target IDs when loading label profile

Fixes issue #1164
This commit is contained in:
Jan Böhmer 2026-08-02 14:07:02 +02:00
parent bc6a4004b5
commit ce3c8f3056

View file

@ -86,7 +86,7 @@
<h6 class="dropdown-header">{{ (type.value~'.label') | trans }}</h6>
{% endif %}
{% for profile in profiles %}
<a class="dropdown-item" href="{{ path('label_dialog_profile', {'profile': profile.id }) }}">{{ profile.name }}</a>
<a class="dropdown-item" href="{{ path('label_dialog_profile', {'profile': profile.id, 'target_id': form.target_id.vars.value }) }}">{{ profile.name }}</a>
{% endfor %}
{% endfor %}
{% endif %}