diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-26 17:20:54 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-26 17:20:54 +0200 |
| commit | 113857a1a091add62c5479bece88d3c243a97098 (patch) | |
| tree | c9d55cc2fa5f60465aefce3f1098bad1a157fb37 /app/client/common | |
| parent | 216f240c8ac0a33d920aa467600a777a974d2db9 (diff) | |
deploy bundle
Diffstat (limited to 'app/client/common')
| -rw-r--r-- | app/client/common/currentTask.component.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/client/common/currentTask.component.js b/app/client/common/currentTask.component.js index 7960e5c..9bb9c0d 100644 --- a/app/client/common/currentTask.component.js +++ b/app/client/common/currentTask.component.js @@ -23,7 +23,13 @@ function CurrentTask ({ cpu, gpu, processor }) { const { activity, epoch, epochs, dataset, module } = task return ( <div> - #{pid}: <b>{module} {activity}</b> <i>{dataset}</i> {epochs} epoch{util.courtesy_s(epochs)} (currently #{epoch}) + #{pid}: <b>{module} {activity}</b> <i>{dataset}</i> + {epochs + ? <span>{epochs} epoch{util.courtesy_s(epochs)}</span> + : ""} + {epoch + ? <span>(currently #{epoch})</span> + : ""} <br/><br/> <div class='quiet'>{last_message}</div> </div> |
