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
75bc40bcce
commit
ad33481c5e
@ -120,7 +120,7 @@
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
<center style="padding-top: 30px">
|
<center style="padding-top: 30px">
|
||||||
<span data-bind="visible: ! selectedTask().isNew">
|
<span data-bind="visible: selectedTask().isCreated">
|
||||||
{!! DropdownButton::normal(trans('texts.archive'))
|
{!! DropdownButton::normal(trans('texts.archive'))
|
||||||
->withAttributes([
|
->withAttributes([
|
||||||
'class' => 'archive-dropdown',
|
'class' => 'archive-dropdown',
|
||||||
@ -423,6 +423,10 @@
|
|||||||
return ! self.public_id();
|
return ! self.public_id();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
self.isCreated = ko.computed(function() {
|
||||||
|
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