Skip to content

Commit

Permalink
enable single click again
Browse files Browse the repository at this point in the history
  • Loading branch information
franskloet committed Jan 12, 2023
1 parent b64ab06 commit 865810e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion projects/mercury/src/metadata/views/MetadataViewTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ export const MetadataViewTable = (props: MetadataViewTableProperties) => {

// eslint-disable-next-line
const handleResultSingleClick = (iri: string, label: string, linkedFiles: MetadataViewEntity[]) => {
// temporary disabled single click, until more relevant information can be shown
if (selected && selected.iri === iri) {
toggleRow();
} else {
toggleRow({label, iri, linkedFiles: linkedFiles || []});
}
};

const handleResultDoubleClick = (iri: string) => {
Expand Down

0 comments on commit 865810e

Please sign in to comment.