fixed duplicated key warning in @for statement
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/head This commit looks good
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user