handle zero relative time seconds
This commit is contained in:
		
							parent
							
								
									be72a26760
								
							
						
					
					
						commit
						3425bdd100
					
				| @ -78,7 +78,7 @@ export class TimeComponent implements OnInit, OnChanges, OnDestroy { | |||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   calculate() { |   calculate() { | ||||||
|     if (!this.time) { |     if (this.time == null) { | ||||||
|       return; |       return; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user