Implement indicator for groups

This commit is contained in:
tusooa 2023-12-27 22:54:44 -05:00
commit cc4aaccf38
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
6 changed files with 20 additions and 19 deletions

View file

@ -18,9 +18,14 @@
:class="{ '-compact': compact }"
/>
<FAIcon
v-if="bot"
v-if="showActorTypeIndicator && user?.actor_type === 'Service'"
icon="robot"
class="bot-indicator"
class="actor-type-indicator"
/>
<FAIcon
v-if="showActorTypeIndicator && user?.actor_type === 'Group'"
icon="people-group"
class="actor-type-indicator"
/>
</span>
</template>
@ -79,7 +84,7 @@
height: 100%;
}
.bot-indicator {
.actor-type-indicator {
position: absolute;
bottom: 0;
right: 0;