Fix double fetch issue when clicking on an item

This commit is contained in:
Laurent Nguyen 2024-04-22 13:54:16 +02:00
parent 869e293a52
commit 5445164d6f

View File

@ -1134,8 +1134,6 @@ const DocumentsTabComponent: React.FunctionComponent<{
// If only one selection, we consider as a click
if (selectedRows.size === 1) {
const selectedRow = Array.from(selectedRows)[0];
onDocumentClicked(selectedRow);
setEditorState(ViewModels.DocumentExplorerState.exisitingDocumentNoEdits);
}