Another issue found in DS store.
This commit is contained in:
parent
4cdc0304c6
commit
e233e26899
|
@ -155,10 +155,7 @@ export function createDatasourcesStore() {
|
||||||
if (!datasource?._id || !datasource?._rev) {
|
if (!datasource?._id || !datasource?._rev) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
await API.deleteDatasource({
|
await API.deleteDatasource(datasource._id, datasource._rev)
|
||||||
datasourceId: datasource._id,
|
|
||||||
datasourceRev: datasource._rev,
|
|
||||||
})
|
|
||||||
replaceDatasource(datasource._id, null)
|
replaceDatasource(datasource._id, null)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue