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) {
|
||||
return
|
||||
}
|
||||
await API.deleteDatasource({
|
||||
datasourceId: datasource._id,
|
||||
datasourceRev: datasource._rev,
|
||||
})
|
||||
await API.deleteDatasource(datasource._id, datasource._rev)
|
||||
replaceDatasource(datasource._id, null)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue