Fix bug
This commit is contained in:
		
							parent
							
								
									bb9ab31d5e
								
							
						
					
					
						commit
						7f5a69f4d8
					
				|  | @ -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 New Issue