fixed duplicated key warning in @for statement
LocationBasedServices/smartguide/pipeline/head This commit looks good

This commit is contained in:
2026-07-16 22:38:27 +02:00
parent ae52ad2a0f
commit e6493b9f22
@@ -64,7 +64,10 @@
@let visibleAuthors =
workAuthorsExpanded ? workAuthors : workAuthors.slice(0, 3);
<div class="author-tags" aria-label="Autoren" style="padding: 0.5rem 0">
@for (author of visibleAuthors; track author.id) {
@for (
author of visibleAuthors;
track author.id ?? 'name-' + author.display_name
) {
<button
type="button"
class="publication-institution-tag"