2022-11-26 08:33:32 +00:00
|
|
|
<script setup lang="ts">
|
|
|
|
import type { Account } from 'masto'
|
|
|
|
|
|
|
|
const { account } = defineProps<{
|
|
|
|
account: Account
|
|
|
|
}>()
|
|
|
|
|
|
|
|
const serverName = $computed(() => getServerName(account))
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2022-12-02 07:27:44 +00:00
|
|
|
<p ws-nowrap text-ellipsis of-hidden text-secondary-light>
|
2022-11-26 20:41:18 +00:00
|
|
|
<span text-secondary>{{ getShortHandle(account) }}</span>
|
|
|
|
<span v-if="serverName" text-secondary-light>@{{ serverName }}</span>
|
2022-11-26 08:33:32 +00:00
|
|
|
</p>
|
|
|
|
</template>
|