1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-28 06:48:14 +09:00

fix: priority spoiler vs filter phrase (#388)

This commit is contained in:
Ayo Ayco 2022-12-10 11:50:55 +01:00 committed by GitHub
parent c4ae1d1d6f
commit ebe7b85cf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@ const avatarOnAvatar = $(computedEager(() => useFeatureFlags().experimentalAvata
>
<StatusSpoiler :enabled="status.sensitive || isFiltered" :filter="isFiltered">
<template #spoiler>
<p>{{ filterPhrase ? `${$t('status.filter_hidden_phrase')}: ${filterPhrase}` : status.spoilerText }}</p>
<p>{{ status.spoilerText || `${$t('status.filter_hidden_phrase')}: ${filterPhrase}` }}</p>
</template>
<StatusBody :status="status" />
<StatusPoll v-if="status.poll" :poll="status.poll" />