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