mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 06:06:41 +01:00
Handle filtered quote posts
This commit is contained in:
parent
d4a0a080b5
commit
9934daeb4d
1 changed files with 10 additions and 2 deletions
|
@ -303,6 +303,7 @@ function Status({
|
||||||
onMouseEnter: debugHover,
|
onMouseEnter: debugHover,
|
||||||
}}
|
}}
|
||||||
showFollowedTags
|
showFollowedTags
|
||||||
|
quoted={quoted}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -3176,6 +3177,7 @@ function FilteredStatus({
|
||||||
instance,
|
instance,
|
||||||
containerProps = {},
|
containerProps = {},
|
||||||
showFollowedTags,
|
showFollowedTags,
|
||||||
|
quoted,
|
||||||
}) {
|
}) {
|
||||||
const snapStates = useSnapshot(states);
|
const snapStates = useSnapshot(states);
|
||||||
const {
|
const {
|
||||||
|
@ -3220,7 +3222,9 @@ function FilteredStatus({
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
class={
|
class={
|
||||||
isReblog
|
quoted
|
||||||
|
? ''
|
||||||
|
: isReblog
|
||||||
? group
|
? group
|
||||||
? 'status-group'
|
? 'status-group'
|
||||||
: 'status-reblog'
|
: 'status-reblog'
|
||||||
|
@ -3236,7 +3240,11 @@ function FilteredStatus({
|
||||||
}}
|
}}
|
||||||
{...bindLongPressPeek()}
|
{...bindLongPressPeek()}
|
||||||
>
|
>
|
||||||
<article data-state-post-id={ssKey} class="status filtered" tabindex="-1">
|
<article
|
||||||
|
data-state-post-id={ssKey}
|
||||||
|
class={`status filtered ${quoted ? 'status-card' : ''}`}
|
||||||
|
tabindex="-1"
|
||||||
|
>
|
||||||
<b
|
<b
|
||||||
class="status-filtered-badge clickable badge-meta"
|
class="status-filtered-badge clickable badge-meta"
|
||||||
title={filterTitleStr}
|
title={filterTitleStr}
|
||||||
|
|
Loading…
Reference in a new issue