mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-07 01:19:57 +00:00
fix: prevent spoiler text shown when undefined (#402)
This commit is contained in:
parent
f3566ec9b5
commit
d856abef9d
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">
|
||||
<template #spoiler>
|
||||
<template v-if="status.spoilerText || filterPhrase" #spoiler>
|
||||
<p>{{ status.spoilerText || `${$t('status.filter_hidden_phrase')}: ${filterPhrase}` }}</p>
|
||||
</template>
|
||||
<StatusBody :status="status" />
|
||||
|
|
Loading…
Reference in a new issue