refactor: add save context resolution logic post request deletion

This commit is contained in:
jamesgeorge007
2024-05-01 16:13:46 +05:30
parent 8b65090dfb
commit 5aa57fce3f

View File

@@ -428,6 +428,15 @@ export class PersonalWorkspaceProviderService
}
}
// The same function is used to reorder requests since after removing, it's basically doing reorder
resolveSaveContextOnRequestReorder({
lastIndex: requestIndex,
newIndex: -1,
folderPath: collectionID,
length: getRequestsByPath(restCollectionStore.value.state, collectionID)
.length,
})
return Promise.resolve(E.right(undefined))
}