1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-02 00:26:27 +02:00
This commit is contained in:
syuilo
2018-10-09 05:31:26 +09:00
parent bb9ab31d5e
commit 7f5a69f4d8

View File

@@ -17,7 +17,7 @@ const summarize = (note: any): string => {
summary += note.text ? note.text : '';
// ファイルが添付されているとき
if (note.files.length != 0) {
if ((note.files || []).length != 0) {
summary += ` (${note.files.length}つのファイル)`;
}