fix(profile): add rel tag for ferdiverse link to make verification possible

Signed-off-by: Thorsten Daners <thorsten@daners.info>
This commit is contained in:
Thorsten Daners 2024-02-05 20:48:39 +01:00 committed by Ferdinand Thiessen
parent 97df391969
commit 30b30d09d5
No known key found for this signature in database
GPG key ID: 7E849AE05218500F

View file

@ -159,7 +159,8 @@ function openStatusModal() {
class="user-actions__primary"
:href="primaryAction.target"
:icon="primaryAction.icon"
:target="primaryAction.id === 'phone' ? '_self' : '_blank'">
:target="primaryAction.id === 'phone' ? '_self' : '_blank'"
:rel="primaryAction.id === 'fediverse' ? 'me' : undefined">
<template #icon>
<!-- Fix for https://github.com/nextcloud-libraries/nextcloud-vue/issues/2315 -->
<img :src="primaryAction.icon" alt="" class="user-actions__primary__icon">
@ -172,7 +173,8 @@ function openStatusModal() {
:key="action.id"
:closeAfterClick="true"
:href="action.target"
:target="action.id === 'phone' ? '_self' : '_blank'">
:target="action.id === 'phone' ? '_self' : '_blank'"
:rel="primaryAction.id === 'fediverse' ? 'me' : undefined">
<template #icon>
<!-- Fix for https://github.com/nextcloud-libraries/nextcloud-vue/issues/2315 -->
<img :src="action.icon" alt="" class="user-actions__other__icon">