mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-29 05:48:49 +03:00
16 lines
343 B
Vue
16 lines
343 B
Vue
<script setup lang="ts">
|
|
import type { Account } from 'masto'
|
|
|
|
const { account } = defineProps<{
|
|
account: Account
|
|
}>()
|
|
|
|
const serverName = $computed(() => getServerName(account))
|
|
</script>
|
|
|
|
<template>
|
|
<p>
|
|
<span>{{ getShortHandle(account) }}</span>
|
|
<span v-if="serverName" text="gray/95">@{{ serverName }}</span>
|
|
</p>
|
|
</template>
|