mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-28 12:18:51 +03:00
Don't compact spoiler post if from different author
This commit is contained in:
parent
9885c8f388
commit
d429ef9161
1 changed files with 1 additions and 1 deletions
|
@ -412,7 +412,7 @@ function Timeline({
|
||||||
const isMiddle = i > 0 && i < items.length - 1;
|
const isMiddle = i > 0 && i < items.length - 1;
|
||||||
const isSpoiler = item.sensitive && !!item.spoilerText;
|
const isSpoiler = item.sensitive && !!item.spoilerText;
|
||||||
const showCompact =
|
const showCompact =
|
||||||
(isSpoiler && i > 0) ||
|
(!_differentAuthor && isSpoiler && i > 0) ||
|
||||||
(manyItems &&
|
(manyItems &&
|
||||||
isMiddle &&
|
isMiddle &&
|
||||||
(type === 'thread' ||
|
(type === 'thread' ||
|
||||||
|
|
Loading…
Reference in a new issue