forked from FoundKeyGang/FoundKey
Fix #3646
This commit is contained in:
parent
48dc56e834
commit
65d943e42a
1 changed files with 5 additions and 1 deletions
|
@ -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 a new issue