From 5419eda58dfd3454cd0203cf94ac615ae2f5c9f3 Mon Sep 17 00:00:00 2001 From: Karishma Chadha Date: Mon, 23 Apr 2018 09:52:30 -0400 Subject: [PATCH 1/2] Support new scratch-blocks mutationToDom api. --- src/containers/custom-procedures.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containers/custom-procedures.jsx b/src/containers/custom-procedures.jsx index dfc00b5bc..7605fd4b6 100644 --- a/src/containers/custom-procedures.jsx +++ b/src/containers/custom-procedures.jsx @@ -75,7 +75,7 @@ class CustomProcedures extends React.Component { this.props.onRequestClose(); } handleOk () { - const newMutation = this.mutationRoot ? this.mutationRoot.mutationToDom() : null; + const newMutation = this.mutationRoot ? this.mutationRoot.mutationToDom(true) : null; this.props.onRequestClose(newMutation); } handleAddLabel () { From e19d395b8281078a1fc48c6138adc3cfd0f00066 Mon Sep 17 00:00:00 2001 From: Karishma Chadha Date: Mon, 23 Apr 2018 10:41:19 -0400 Subject: [PATCH 2/2] Update scratch-blocks version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 03c60e8f0..72c3b45cc 100644 --- a/package.json +++ b/package.json @@ -89,7 +89,7 @@ "redux-throttle": "0.1.1", "rimraf": "^2.6.1", "scratch-audio": "0.1.0-prerelease.1516198804", - "scratch-blocks": "0.1.0-prerelease.1524163302", + "scratch-blocks": "0.1.0-prerelease.1524267558", "scratch-l10n": "2.0.20180108132626", "scratch-paint": "0.2.0-prerelease.20180410152401", "scratch-render": "0.1.0-prerelease.1523453612",