fix(workflow): fix status not set on new workflow entries (#1558)

This commit is contained in:
Shawn Erquhart
2018-07-31 12:17:25 -04:00
committed by GitHub
parent 0692ad0e98
commit 0aa085f8d2
4 changed files with 5 additions and 6 deletions

View File

@ -116,6 +116,7 @@ class Backend {
this.implementation = implementation.init(config, {
useWorkflow: config.getIn(["publish_mode"]) === EDITORIAL_WORKFLOW,
updateUserCredentials: this.updateUserCredentials,
initialWorkflowStatus: status.first(),
});
this.backendName = backendName;
this.authStore = authStore;
@ -396,7 +397,6 @@ class Backend {
parsedData,
commitMessage,
collectionName,
initialStatus: status.first(),
...updatedOptions
};