fix: StatusSpoiler filter value type (#380)

zio/stable
Ayo Ayco 2022-12-08 18:19:29 +01:00 committed by GitHub
parent ae8f4dfa22
commit b0dae4fc9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ const avatarOnAvatar = $(computedEager(() => useFeatureFlags().experimentalAvata
<StatusActionsMore :status="status" mr--2 />
</div>
<div :class="status.visibility === 'direct' ? 'my3 p1 px4 br2 bg-fade border-primary border-1 rounded-3 rounded-tl-none' : ''">
<StatusSpoiler :enabled="status.sensitive || isFiltered" :filter="filter?.filterAction">
<StatusSpoiler :enabled="status.sensitive || isFiltered" :filter="isFiltered">
<template #spoiler>
<p>{{ filterPhrase ? `${$t('status.filter_hidden_phrase')}: ${filterPhrase}` : status.spoilerText }}</p>
</template>