Add command args
This commit is contained in:
parent
3599232f6a
commit
233b33cbd4
@ -16,12 +16,19 @@ export default class TaskQueueRenderer {
|
|||||||
padding: '8px 6px',
|
padding: '8px 6px',
|
||||||
});
|
});
|
||||||
if (state.current) {
|
if (state.current) {
|
||||||
|
let cmd = state.current.cmd;
|
||||||
ul.append(
|
ul.append(
|
||||||
jQuery('<li></li>').text('Current: ' + state.current.cmd.name)
|
jQuery('<li></li>').text(
|
||||||
|
'Current: ' + cmd.name + ' ' + JSON.stringify(cmd.args)
|
||||||
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
state.items.forEach(c => {
|
state.items.forEach(c => {
|
||||||
ul.append(jQuery('<li></li>').text(c.cmd.name));
|
ul.append(
|
||||||
|
jQuery('<li></li>').text(
|
||||||
|
c.cmd.name + ' ' + JSON.stringify(c.cmd.args)
|
||||||
|
)
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
const el = jQuery(`#${ID}`);
|
const el = jQuery(`#${ID}`);
|
||||||
|
Loading…
Reference in New Issue
Block a user