forked from FoundKeyGang/FoundKey
fix(client): wrongly collapsed posts
This commit is contained in:
parent
facb12164e
commit
67450815cd
1 changed files with 1 additions and 1 deletions
|
@ -169,11 +169,11 @@ const reactButton = ref<HTMLElement>();
|
|||
let appearNote = $computed(() => isRenote ? note.renote as misskey.entities.Note : note);
|
||||
const isMyRenote = $i && ($i.id === note.userId);
|
||||
const showContent = ref(false);
|
||||
const collapsed = ref(appearNote.cw == null);
|
||||
const isLong = ref(appearNote.cw == null && appearNote.text != null && (
|
||||
(appearNote.text.split('\n').length > 9) ||
|
||||
(appearNote.text.length > 500)
|
||||
));
|
||||
const collapsed = ref(appearNote.cw == null && isLong);
|
||||
const isDeleted = ref(false);
|
||||
const muted = ref(checkWordMute(appearNote, $i, defaultStore.state.mutedWords));
|
||||
const translation = ref(null);
|
||||
|
|
Loading…
Reference in a new issue