generated from tpl/obsidian-sample-plugin
			Fix pages read total field in reading log entry edit modal view
This commit is contained in:
		
							parent
							
								
									cb0c66a48b
								
							
						
					
					
						commit
						45d80517a5
					
				| 
						 | 
				
			
			@ -51,7 +51,7 @@
 | 
			
		|||
	});
 | 
			
		||||
 | 
			
		||||
	$effect(() => {
 | 
			
		||||
		pagesRemaining = bookMetadata?.book.pageCount ?? 0 - pagesReadTotal;
 | 
			
		||||
		pagesRemaining = (bookMetadata?.book.pageCount ?? 0) - pagesReadTotal;
 | 
			
		||||
	});
 | 
			
		||||
 | 
			
		||||
	$effect(() => {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue