mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-23 06:09:21 +01:00
Collapse grouped conversations too
This commit is contained in:
parent
d4dca0e81f
commit
cb36308790
1 changed files with 7 additions and 1 deletions
|
@ -412,7 +412,13 @@ function Timeline({
|
||||||
const isSpoiler = item.sensitive && !!item.spoilerText;
|
const isSpoiler = item.sensitive && !!item.spoilerText;
|
||||||
const showCompact =
|
const showCompact =
|
||||||
(isSpoiler && i > 0) ||
|
(isSpoiler && i > 0) ||
|
||||||
(manyItems && isMiddle && type === 'thread');
|
(manyItems &&
|
||||||
|
isMiddle &&
|
||||||
|
(type === 'thread' ||
|
||||||
|
(type === 'conversation' &&
|
||||||
|
!_differentAuthor &&
|
||||||
|
!items[i - 1]._differentAuthor &&
|
||||||
|
!items[i + 1]._differentAuthor)));
|
||||||
return (
|
return (
|
||||||
<li
|
<li
|
||||||
key={`timeline-${statusID}`}
|
key={`timeline-${statusID}`}
|
||||||
|
|
Loading…
Add table
Reference in a new issue