1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Show resume vs start

This commit is contained in:
Hillel Coren 2018-02-15 15:03:49 +02:00
parent 7e50e538bc
commit 227019f95e

View File

@ -477,8 +477,10 @@
if (self.selectedTask()) {
if (self.selectedTask().isRunning()) {
return "{{ trans('texts.stop') }}";
} else {
} else if (self.selectedTask().seconds() > 0) {
return "{{ trans('texts.resume') }}";
} else {
return "{{ trans('texts.start') }}";
}
} else {
return "{{ trans('texts.start') }}";