Skip to content
Snippets Groups Projects
Commit 249016b7 authored by Johanna Szepanski's avatar Johanna Szepanski
Browse files

added the entire view to the story to get correct page title

parent ac53dad1
No related branches found
No related tags found
2 merge requests!612Release 5.0.0,!594CE-3447: Improve batch presentation
import { JobsDetails } from "../../../components/Job/JobDetails"; import { JobDetailsView } from "../../../views/jobs/JobDetailsView";
import { AppHarness } from "../../../mocks/AppHarness"; import { AppHarness } from "../../../mocks/AppHarness";
import jobs from "../../../mocks/fixtures/Jobs.json"; import jobs from "../../../mocks/fixtures/Jobs.json";
import { JobDetails } from "../../../store/deployApi"; import { JobDetails } from "../../../store/deployApi";
...@@ -36,8 +36,8 @@ const Template = (args: Args) => { ...@@ -36,8 +36,8 @@ const Template = (args: Args) => {
const currentJob = jobs.jobs.find((job) => job.action === args.actionType); const currentJob = jobs.jobs.find((job) => job.action === args.actionType);
return ( return (
<AppHarness> <AppHarness>
<JobsDetails <JobDetailsView
jobDetail={Object.assign({}, currentJob, { job={Object.assign({}, currentJob, {
action: args.actionType, action: args.actionType,
status: args.status status: args.status
})} })}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment