Skip to content

Commit

Permalink
bug(editableForm): Ensure asset is passed in as an argument
Browse files Browse the repository at this point in the history
  • Loading branch information
DavisRayM committed Apr 25, 2023
1 parent cf05f15 commit a9c779e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsapp/js/editorMixins/editableForm.es6
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ export default assign({
params.parent = assetUtils.buildAssetUrl(this.state.parentAsset);
}
actions.resources.createResource.triggerAsync(params)
.then(() => {
.then((asset) => {
hashHistory.push(`/library/${asset.uid}/edit`);
});
} else {
Expand Down

0 comments on commit a9c779e

Please sign in to comment.