fix partitionkey value fetching (#1972)

* fix partitionkey value fetching

* fix partitionkey value fetching

* added unit test

* Added some unit tests

* move the constant
This commit is contained in:
sunghyunkang1111
2024-09-19 13:09:09 -05:00
committed by GitHub
parent 42a1c6c319
commit 869d81dfbc
3 changed files with 87 additions and 26 deletions

View File

@@ -1025,7 +1025,10 @@ export const DocumentsTabComponent: React.FunctionComponent<IDocumentsTabCompone
);
},
)
.then(() => setSelectedRows(new Set([documentIds.length - 1])))
.then(() => {
setSelectedRows(new Set([documentIds.length - 1]));
setClickedRowIndex(documentIds.length - 1);
})
.finally(() => setIsExecuting(false));
}, [
onExecutionErrorChange,