Fix wrong color for filtered group post

This commit is contained in:
Lim Chee Aun 2023-08-08 20:21:09 +08:00
parent 3d458826cf
commit 0ca29cb181

View file

@ -1996,7 +1996,7 @@ const unfurlMastodonLink = throttle(
function FilteredStatus({ status, filterInfo, instance, containerProps = {} }) { function FilteredStatus({ status, filterInfo, instance, containerProps = {} }) {
const { const {
account: { avatar, avatarStatic, bot }, account: { avatar, avatarStatic, bot, group },
createdAt, createdAt,
visibility, visibility,
reblog, reblog,
@ -2021,7 +2021,7 @@ function FilteredStatus({ status, filterInfo, instance, containerProps = {} }) {
return ( return (
<div <div
class={isReblog ? 'status-reblog' : ''} class={isReblog ? (group ? 'status-group' : 'status-reblog') : ''}
{...containerProps} {...containerProps}
title={statusPeekText} title={statusPeekText}
onContextMenu={(e) => { onContextMenu={(e) => {