diff --git a/resources/views/time_tracker.blade.php b/resources/views/time_tracker.blade.php
index c5d2b98fb339..dd551c080df1 100644
--- a/resources/views/time_tracker.blade.php
+++ b/resources/views/time_tracker.blade.php
@@ -124,7 +124,7 @@
-
+
{!! DropdownButton::normal(trans('texts.archive'))
->withAttributes([
'class' => 'archive-dropdown',
@@ -416,9 +416,9 @@
self.update(data);
}
- self.isNew = function() {
+ self.isNew = ko.computed(function() {
return ! self.public_id();
- }
+ });
self.showActionButton = function() {
self.actionButtonVisible(true);