mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-10 23:51:01 -07:00
Fix bug
This commit is contained in:
parent
ddebd0a808
commit
0482566662
1 changed files with 1 additions and 1 deletions
|
@ -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}つのファイル)`;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue