Commit 158f8d5c authored by Ghislain Loaec's avatar Ghislain Loaec
Browse files

Oh My Buddha, return true to display jobs

parent 74123400
......@@ -78,13 +78,15 @@ class DeployConf extends React.Component {
}
filterJob(job) {
const { instance } = this.props;
const { server } = instance.opts;
return job.target === server.serverid.toString()
&& job.fun === 'state.apply'
&& job.arg
&& job.arg.length > 0
&& job.arg[0] === 'eole.configuration.deploy';
return !!job;
// FIXME: None of the code above makes sense considering salt response :
//const { instance } = this.props;
//const { server } = instance.opts;
//return job.target === server.serverid.toString()
// && job.fun === 'state.apply'
// && job.arg
// && job.arg.length > 0
// && job.arg[0] === 'eole.configuration.deploy';
}
onJobsRefreshed() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment