mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-12 21:58:58 +09:00
Fix #3646
This commit is contained in:
parent
48dc56e834
commit
65d943e42a
@ -14,7 +14,11 @@ const summarize = (note: any): string => {
|
||||
let summary = '';
|
||||
|
||||
// 本文
|
||||
summary += note.text ? note.text : '';
|
||||
if (note.cw && note.cw != '') {
|
||||
summary += note.cw;
|
||||
} else {
|
||||
summary += note.text ? note.text : '';
|
||||
}
|
||||
|
||||
// ファイルが添付されているとき
|
||||
if ((note.files || []).length != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user