You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by cc...@apache.org on 2018/11/09 03:27:30 UTC
[incubator-superset] branch master updated: [bugfix] don't parse
save dashboard response (#6349)
This is an automated email from the ASF dual-hosted git repository.
ccwilliams pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new 62dcce8 [bugfix] don't parse save dashboard response (#6349)
62dcce8 is described below
commit 62dcce890c36168c91b80eee301dc0ef4d47a8ef
Author: Chris Williams <wi...@users.noreply.github.com>
AuthorDate: Thu Nov 8 19:27:22 2018 -0800
[bugfix] don't parse save dashboard response (#6349)
* [bugfix] don't parse save dashboard response
* [dashboard] remove bracket in error message
---
superset/assets/src/dashboard/actions/dashboardState.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/superset/assets/src/dashboard/actions/dashboardState.js b/superset/assets/src/dashboard/actions/dashboardState.js
index f2c330c..1afb4a5 100644
--- a/superset/assets/src/dashboard/actions/dashboardState.js
+++ b/superset/assets/src/dashboard/actions/dashboardState.js
@@ -132,6 +132,7 @@ export function saveDashboardRequest(data, id, saveType) {
SupersetClient.post({
endpoint: `/superset/${path}/${id}/`,
postPayload: { data },
+ parseMethod: null,
})
.then(response =>
Promise.all([
@@ -147,7 +148,7 @@ export function saveDashboardRequest(data, id, saveType) {
addDangerToast(
`${t(
'Sorry, there was an error saving this dashboard: ',
- )} ${error}}`,
+ )} ${error}`,
),
),
),