summaryrefslogtreecommitdiff
path: root/app/client/system/system.component.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-04 22:56:28 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-04 22:56:28 +0200
commit1ccc4c798d95133cde1d4558318f0640a772526a (patch)
treead71fbe1e341abafcd73b2c6e84a76c532fd9bf5 /app/client/system/system.component.js
parenta0b596b2d675144cbb00e55e67a79743166e25a5 (diff)
pushing test tasks into queue
Diffstat (limited to 'app/client/system/system.component.js')
-rw-r--r--app/client/system/system.component.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/client/system/system.component.js b/app/client/system/system.component.js
index 1953ee3..b4a0ed7 100644
--- a/app/client/system/system.component.js
+++ b/app/client/system/system.component.js
@@ -93,6 +93,9 @@ class System extends Component {
<button onClick={() => actions.live.get_params()}>Get</button>
<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>
+ </Param>
</Group>
</div>
{this.renderCommandOutput()}