Skip to content

Commit

Permalink
made last change to display of similar button
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfang97 committed Mar 26, 2024
1 parent b3dd33a commit 82be457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/components/Viewing/ViewHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ export default function ViewHeader(properties) {
)}
</div>
<div>
{properties.search.similar && checkSBOLExplorer?.data?.includes('SBOLExplorer') && ( //TODO: Add check for SBOLExplorer
{properties.search.similar && typeof checkSBOLExplorer?.data === 'string' && ( //TODO: Add check for SBOLExplorer
<button className={styles.simANDTwinbutton} onClick={similar}> Similar </button>
)}
{properties.search.twins && (
Expand Down

0 comments on commit 82be457

Please sign in to comment.