summaryrefslogtreecommitdiff
path: root/app/client/system/system.component.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-04 23:57:23 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-04 23:57:23 +0200
commita960d57ad80a65d5cf028f2595b38ca07bb46b83 (patch)
tree58bc92a8c30511a1e4caa79f7ce5a3528d7ac35b /app/client/system/system.component.js
parent1ccc4c798d95133cde1d4558318f0640a772526a (diff)
updating task status on serverrrrrr
Diffstat (limited to 'app/client/system/system.component.js')
-rw-r--r--app/client/system/system.component.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/client/system/system.component.js b/app/client/system/system.component.js
index b4a0ed7..bf77237 100644
--- a/app/client/system/system.component.js
+++ b/app/client/system/system.component.js
@@ -94,7 +94,11 @@ class System extends Component {
<button onClick={() => actions.live.set_param('fruit', choice(fruits))}>Set</button>
</Param>
<Param title='Queue'>
- <button onClick={() => actions.system.enqueue_test_task(choice(fruits))}>+ Add</button>
+ <button onClick={() => actions.queue.start_queue()}>Start</button>
+ <button onClick={() => actions.queue.stop_queue()}>Stop</button>
+ </Param>
+ <Param title=''>
+ <button onClick={() => actions.system.enqueue_test_task(choice(fruits))}>+Add</button>
</Param>
</Group>
</div>