enhance(MkAcct): acct host is now displayed by instanceTicker option

This commit is contained in:
オスカー、 2024-12-08 00:56:23 +09:00
parent 6a523346c8
commit 380b5db5ed
No known key found for this signature in database
GPG key ID: 8947F3AF5B0B4BFE

View file

@ -6,11 +6,11 @@ SPDX-License-Identifier: AGPL-3.0-only
<template> <template>
<MkCondensedLine v-if="defaultStore.state.enableCondensedLineForAcct" :minScale="2 / 3"> <MkCondensedLine v-if="defaultStore.state.enableCondensedLineForAcct" :minScale="2 / 3">
<span>@{{ user.username }}</span> <span>@{{ user.username }}</span>
<span v-if="user.host || detail || defaultStore.state.showFullAcct" style="opacity: 0.5;">@{{ user.host || host }}</span> <span v-if="defaultStore.state.instanceTicker === 'always' || (user.host && defaultStore.state.instanceTicker === 'remote') || detail" style="opacity: 0.5;">@{{ user.host || host }}</span>
</MkCondensedLine> </MkCondensedLine>
<span v-else> <span v-else>
<span>@{{ user.username }}</span> <span>@{{ user.username }}</span>
<span v-if="user.host || detail || defaultStore.state.showFullAcct" style="opacity: 0.5;">@{{ user.host || host }}</span> <span v-if="defaultStore.state.instanceTicker === 'always' || (user.host && defaultStore.state.instanceTicker === 'remote') || detail" style="opacity: 0.5;">@{{ user.host || host }}</span>
</span> </span>
</template> </template>