mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	Fix bug
This commit is contained in:
		
							parent
							
								
									bb9ab31d5e
								
							
						
					
					
						commit
						7f5a69f4d8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -17,7 +17,7 @@ const summarize = (note: any): string => {
 | 
				
			||||||
	summary += note.text ? note.text : '';
 | 
						summary += note.text ? note.text : '';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// ファイルが添付されているとき
 | 
						// ファイルが添付されているとき
 | 
				
			||||||
	if (note.files.length != 0) {
 | 
						if ((note.files || []).length != 0) {
 | 
				
			||||||
		summary += ` (${note.files.length}つのファイル)`;
 | 
							summary += ` (${note.files.length}つのファイル)`;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue