mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Working on time tracker
This commit is contained in:
parent
208d422d76
commit
5e963ac83f
@ -124,7 +124,7 @@
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
<center style="padding-top: 30px">
|
<center style="padding-top: 30px">
|
||||||
<span data-bind="visible: selectedTask().isNew">
|
<span data-bind="visible: ! selectedTask().isNew">
|
||||||
{!! DropdownButton::normal(trans('texts.archive'))
|
{!! DropdownButton::normal(trans('texts.archive'))
|
||||||
->withAttributes([
|
->withAttributes([
|
||||||
'class' => 'archive-dropdown',
|
'class' => 'archive-dropdown',
|
||||||
@ -416,9 +416,9 @@
|
|||||||
self.update(data);
|
self.update(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
self.isNew = function() {
|
self.isNew = ko.computed(function() {
|
||||||
return ! self.public_id();
|
return ! self.public_id();
|
||||||
}
|
});
|
||||||
|
|
||||||
self.showActionButton = function() {
|
self.showActionButton = function() {
|
||||||
self.actionButtonVisible(true);
|
self.actionButtonVisible(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user