mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-02-19 18:56:36 +00:00
Fix mongo delete flow
This commit is contained in:
parent
dc4c3745ce
commit
d049ab376c
@ -1358,7 +1358,7 @@ const DocumentsTabComponent: React.FunctionComponent<{
|
||||
setIsExecuting(true);
|
||||
return __deleteDocument(documentId)
|
||||
.then(
|
||||
() => {
|
||||
(deletedDocumentId) => {
|
||||
TelemetryProcessor.traceSuccess(
|
||||
Action.DeleteDocument,
|
||||
{
|
||||
@ -1367,7 +1367,7 @@ const DocumentsTabComponent: React.FunctionComponent<{
|
||||
},
|
||||
startKey,
|
||||
);
|
||||
return documentId.rid;
|
||||
return deletedDocumentId;
|
||||
},
|
||||
(error) => {
|
||||
onExecutionErrorChange(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user