diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-02 16:05:13 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-02 16:05:13 +0200 |
| commit | dbd27d8ab455c6372fae1516dcb677a53d9e23ca (patch) | |
| tree | a05a9d256a25411fc396d3dc94e5b993755ac119 /app/client/system/system.component.js | |
| parent | 814ea9116fe99194feec49f7dd4f7c2d82343f67 (diff) | |
fix runner client
Diffstat (limited to 'app/client/system/system.component.js')
| -rw-r--r-- | app/client/system/system.component.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/client/system/system.component.js b/app/client/system/system.component.js index a4be0c9..d0e6d48 100644 --- a/app/client/system/system.component.js +++ b/app/client/system/system.component.js @@ -78,16 +78,16 @@ class System extends Component { </Group> <Group title="Test"> <Param title='CPU Test Task'> - <button onClick={() => actions.task.start_task(cpu_test_task, { preempt: true, watch: true })}>Start</button> - <button onClick={() => actions.task.stop_task(runner.cpu.task)}>Stop</button> + <button onClick={() => actions.queue.start_task(cpu_test_task, { preempt: true, watch: true })}>Start</button> + <button onClick={() => actions.queue.stop_task(runner.cpu.task)}>Stop</button> </Param> <Param title='GPU Test Task'> - <button onClick={() => actions.task.start_task(gpu_test_task, { preempt: true, watch: true })}>Start</button> - <button onClick={() => actions.task.stop_task(runner.gpu.task)}>Stop</button> + <button onClick={() => actions.queue.start_task(gpu_test_task, { preempt: true, watch: true })}>Start</button> + <button onClick={() => actions.queue.stop_task(runner.gpu.task)}>Stop</button> </Param> <Param title='Live Test Task'> - <button onClick={() => actions.task.start_task(live_test_task, { preempt: true, watch: true })}>Start</button> - <button onClick={() => actions.task.stop_task(runner.cpu.task)}>Stop</button> + <button onClick={() => actions.queue.start_task(live_test_task, { preempt: true, watch: true })}>Start</button> + <button onClick={() => actions.queue.stop_task(runner.cpu.task)}>Stop</button> </Param> <Param title='Test Live RPC'> <button onClick={() => actions.live.get_params()}>Get</button> |
