Fixed jobs and queries
This commit is contained in:
parent
643b4cdc20
commit
fae064a6db
4 changed files with 79 additions and 39 deletions
|
@ -43,7 +43,7 @@ export default function Jobs() {
|
|||
): null}
|
||||
<JobBuilder />
|
||||
{location.hash === "" &&
|
||||
jobState.jobs.map((v, i) => (
|
||||
jobState.jobs.filter((j)=>!j.isPipeline).map((v, i) => (
|
||||
<a
|
||||
key={i}
|
||||
href={`/qualiteer/jobs#${v.name}`}
|
||||
|
|
|
@ -28,6 +28,11 @@ function PipelineSelector(props) {
|
|||
setCache({ primarySelectedMappings });
|
||||
};
|
||||
|
||||
const clickNext = () =>{
|
||||
if(!cache.primarySelectedMappings ) return console.log("No mapping selected")
|
||||
next()
|
||||
}
|
||||
|
||||
return (
|
||||
<React.Fragment>
|
||||
<DialogContent>
|
||||
|
@ -59,7 +64,7 @@ function PipelineSelector(props) {
|
|||
</DialogContent>
|
||||
<DialogActions>
|
||||
<Button onClick={cancel}>Cancel</Button>
|
||||
<Button onClick={next} autoFocus>
|
||||
<Button onClick={clickNext} autoFocus>
|
||||
Next
|
||||
</Button>
|
||||
</DialogActions>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue