diff --git a/src/components/NcListItem/NcListItem.vue b/src/components/NcListItem/NcListItem.vue index ad7f2ca4d7..c7f895bd31 100644 --- a/src/components/NcListItem/NcListItem.vue +++ b/src/components/NcListItem/NcListItem.vue @@ -192,8 +192,8 @@ ref="list-item" :class="{ 'list-item--active' : active }" :href="href" - target="_blank" - rel="noopener noreferrer" + :target="href === '#' ? undefined : '_blank'" + :rel="href === '#' ? undefined : 'noopener noreferrer'" class="list-item" :aria-label="linkAriaLabel" @mouseover="handleMouseover"