Working on time tracker
This commit is contained in:
parent
208d422d76
commit
5e963ac83f
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue