diff options
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> |
