mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 00:17:34 -05:00 
			
		
		
		
	Working on time tracker
This commit is contained in:
		
							parent
							
								
									32ae5d55ad
								
							
						
					
					
						commit
						bd96938e4c
					
				@ -521,6 +521,7 @@
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        self.age = ko.computed(function() {
 | 
			
		||||
            model.clock(); // bind to the clock
 | 
			
		||||
            if (! self.time_log().length) {
 | 
			
		||||
                return '';
 | 
			
		||||
            }
 | 
			
		||||
@ -640,6 +641,7 @@
 | 
			
		||||
        });
 | 
			
		||||
 | 
			
		||||
        self.age = ko.computed(function() {
 | 
			
		||||
            model.clock(); // bind to the clock
 | 
			
		||||
            return moment.unix(self.startTime()).fromNow();
 | 
			
		||||
        });
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user