Skip to content

Commit

Permalink
[bugfix] don't parse save dashboard response (#6349)
Browse files Browse the repository at this point in the history
* [bugfix] don't parse save dashboard response

* [dashboard] remove bracket in error message
  • Loading branch information
williaster authored Nov 9, 2018
1 parent 3d77526 commit 62dcce8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion superset/assets/src/dashboard/actions/dashboardState.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ export function saveDashboardRequest(data, id, saveType) {
SupersetClient.post({
endpoint: `/superset/${path}/${id}/`,
postPayload: { data },
parseMethod: null,
})
.then(response =>
Promise.all([
Expand All @@ -147,7 +148,7 @@ export function saveDashboardRequest(data, id, saveType) {
addDangerToast(
`${t(
'Sorry, there was an error saving this dashboard: ',
)} ${error}}`,
)} ${error}`,
),
),
),
Expand Down

0 comments on commit 62dcce8

Please sign in to comment.