[bugfix] don't parse save dashboard response (#6349)
* [bugfix] don't parse save dashboard response * [dashboard] remove bracket in error message
This commit is contained in:
parent
3d7752600b
commit
62dcce890c
|
|
@ -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}`,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in New Issue