merge: remove duplicate role badges - fixes #868 (!848)

View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/848

Closes #868

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
This commit is contained in:
Marie 2025-01-02 20:10:26 +00:00
commit 4619a31f1d

View file

@ -54,9 +54,6 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkUserName :nowrap="false" :user="appearNote.user"/> <MkUserName :nowrap="false" :user="appearNote.user"/>
</MkA> </MkA>
<span v-if="appearNote.user.isBot" :class="$style.isBot">bot</span> <span v-if="appearNote.user.isBot" :class="$style.isBot">bot</span>
<span v-if="appearNote.user.badgeRoles" :class="$style.badgeRoles">
<img v-for="role in appearNote.user.badgeRoles" :key="role.id" v-tooltip="role.name" :class="$style.badgeRole" :src="role.iconUrl"/>
</span>
</div> </div>
<div :class="$style.noteHeaderUsernameAndBadgeRoles"> <div :class="$style.noteHeaderUsernameAndBadgeRoles">
<div :class="$style.noteHeaderUsername"> <div :class="$style.noteHeaderUsername">