forked from Mirrors/elk
fix: priority spoiler vs filter phrase (#388)
This commit is contained in:
parent
c4ae1d1d6f
commit
ebe7b85cf9
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ const avatarOnAvatar = $(computedEager(() => useFeatureFlags().experimentalAvata
|
||||||
>
|
>
|
||||||
<StatusSpoiler :enabled="status.sensitive || isFiltered" :filter="isFiltered">
|
<StatusSpoiler :enabled="status.sensitive || isFiltered" :filter="isFiltered">
|
||||||
<template #spoiler>
|
<template #spoiler>
|
||||||
<p>{{ filterPhrase ? `${$t('status.filter_hidden_phrase')}: ${filterPhrase}` : status.spoilerText }}</p>
|
<p>{{ status.spoilerText || `${$t('status.filter_hidden_phrase')}: ${filterPhrase}` }}</p>
|
||||||
</template>
|
</template>
|
||||||
<StatusBody :status="status" />
|
<StatusBody :status="status" />
|
||||||
<StatusPoll v-if="status.poll" :poll="status.poll" />
|
<StatusPoll v-if="status.poll" :poll="status.poll" />
|
||||||
|
|
Loading…
Reference in a new issue