enhance(frontend): make MkCondensedLine experimental

This commit is contained in:
syuilo 2023-05-05 08:34:05 +09:00
parent 2cfed3395e
commit febb9f388c
3 changed files with 46 additions and 6 deletions

View file

@ -1,8 +1,12 @@
<template>
<MkCondensedLine>
<MkCondensedLine v-if="defaultStore.state.enableCondensedLineForAcct">
<span>@{{ user.username }}</span>
<span v-if="user.host || detail || defaultStore.state.showFullAcct" style="opacity: 0.5;">@{{ user.host || host }}</span>
</MkCondensedLine>
<span v-else>
<span>@{{ user.username }}</span>
<span v-if="user.host || detail || defaultStore.state.showFullAcct" style="opacity: 0.5;">@{{ user.host || host }}</span>
</span>
</template>
<script lang="ts" setup>