0
0
This commit is contained in:
syuilo 2018-12-17 20:17:21 +09:00
parent 48dc56e834
commit 65d943e42a
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -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) {