mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04: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