Commit 840374cd authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch 'cngo-fix-jira-importer-immutable-cache-update' into 'master'

Fix Jira importer immutable cache update

See merge request gitlab-org/gitlab!43430
parents 02ab182c 2810ba8f
......@@ -22,7 +22,11 @@ export const addInProgressImportToStore = (store, jiraImportStart, fullPath) =>
...queryDetails,
data: produce(sourceData, draftData => {
draftData.project.jiraImportStatus = IMPORT_STATE.SCHEDULED; // eslint-disable-line no-param-reassign
draftData.project.jiraImports.nodes.push(jiraImportStart.jiraImport);
// eslint-disable-next-line no-param-reassign
draftData.project.jiraImports.nodes = [
...sourceData.project.jiraImports.nodes,
jiraImportStart.jiraImport,
];
}),
});
};
......
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