Micro bug fix
This commit is contained in:
parent
87caafe36f
commit
2d49ff63ce
5 changed files with 5 additions and 3 deletions
|
@ -16,7 +16,7 @@ export default function JobBox(props) {
|
|||
|
||||
return (
|
||||
<Accordion expanded={false} disableGutters={true} square>
|
||||
<JobActionMenu job={job} />
|
||||
{/*<JobActionMenu job={job} />*/}
|
||||
<AccordionSummary
|
||||
style={{
|
||||
backgroundColor: "rgba(0, 0, 0, .03)",
|
||||
|
|
|
@ -41,6 +41,7 @@ export default function Jobs() {
|
|||
|
||||
useEffect(() => {
|
||||
const { job, pipeline, builderCache, hash } = jobHash;
|
||||
console.log(jobState.jobs.filter((j) => !j.isPipeline));
|
||||
if (!hash) return;
|
||||
if (!job && !pipeline && !builderCache) navigate("/qualiteer/jobs");
|
||||
});
|
||||
|
|
|
@ -27,7 +27,7 @@ import PipelineConfirm from "./PipelineConfirm.jsx";
|
|||
|
||||
export default function JobBuilder() {
|
||||
const { state: store } = useContext(StoreContext);
|
||||
const { jobCompose } = useJobCore();
|
||||
const { jobCompose, toJob } = useJobCore();
|
||||
const [quickOpen, setQuickOpen] = useState(false);
|
||||
const [jobDialogOpen, setJobDialogOpen] = useState(false);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue