mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2025-09-18 21:38:07 +00:00
collapse renotes that we've renoted or favorited
This commit is contained in:
parent
05f53cb69a
commit
d44935b1d9
2 changed files with 6 additions and 2 deletions
|
@ -319,7 +319,9 @@ const canRenote = computed(() => ['public', 'home'].includes(appearNote.value.vi
|
|||
const renoteCollapsed = ref(
|
||||
prefer.s.collapseRenotes && isRenote && (
|
||||
($i && ($i.id === note.value.userId || $i.id === appearNote.value.userId)) || // `||` must be `||`! See https://github.com/misskey-dev/misskey/issues/13131
|
||||
(appearNote.value.myReaction != null)
|
||||
(appearNote.value.myReaction != null) ||
|
||||
(appearNote.value.isFavorited) ||
|
||||
(appearNote.value.isRenoted)
|
||||
),
|
||||
);
|
||||
const inReplyToCollapsed = ref(prefer.s.collapseNotesRepliedTo);
|
||||
|
|
|
@ -318,7 +318,9 @@ const canRenote = computed(() => ['public', 'home'].includes(appearNote.value.vi
|
|||
const renoteCollapsed = ref(
|
||||
prefer.s.collapseRenotes && isRenote && (
|
||||
($i && ($i.id === note.value.userId || $i.id === appearNote.value.userId)) || // `||` must be `||`! See https://github.com/misskey-dev/misskey/issues/13131
|
||||
(appearNote.value.myReaction != null)
|
||||
(appearNote.value.myReaction != null) ||
|
||||
(appearNote.value.isFavorited) ||
|
||||
(appearNote.value.isRenoted)
|
||||
),
|
||||
);
|
||||
const inReplyToCollapsed = ref(prefer.s.collapseNotesRepliedTo);
|
||||
|
|
Loading…
Add table
Reference in a new issue