Working on time tracker

This commit is contained in:
Hillel Coren 2017-09-19 20:10:25 +03:00
parent 208d422d76
commit 5e963ac83f

View File

@ -124,7 +124,7 @@
</span>
<center style="padding-top: 30px">
<span data-bind="visible: selectedTask().isNew">
<span data-bind="visible: ! selectedTask().isNew">
{!! 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);