diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-08 02:10:27 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-08 02:10:27 +0200 |
| commit | 2753aec805f2d9e60da1c4d463d2b2f7e15167fb (patch) | |
| tree | 9cde80a39d61564de7c32623fb557004b0f96faf /app/client/common/currentTask.component.js | |
| parent | db476213183106f8707f4fa235a88a0610fc87ab (diff) | |
fix p2x fetch script
Diffstat (limited to 'app/client/common/currentTask.component.js')
| -rw-r--r-- | app/client/common/currentTask.component.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/client/common/currentTask.component.js b/app/client/common/currentTask.component.js index b5fa9f5..7dcaf83 100644 --- a/app/client/common/currentTask.component.js +++ b/app/client/common/currentTask.component.js @@ -8,7 +8,7 @@ import util from '../util' function CurrentTask ({ cpu, gpu, processor }) { const processor_name = processor === 'cpu' ? 'cpu' : 'gpu' const p = processor === 'cpu' ? cpu : gpu - if (!p) return null + if (!p) return <div></div> if (p.status === 'IDLE') { return <div>{processor_name} idle</div> } |
