Skip to content

Commit

Permalink
Added links on similarity search to redirect user to comparison page
Browse files Browse the repository at this point in the history
  • Loading branch information
ansengarvin committed Mar 4, 2024
1 parent 448b3bb commit d7e54e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/lib/SimilarProteins.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<th> Probability Match</th>
<th> E-Value </th>
<th> Description </th>
<th> Compare </th>
</tr>
{#each similarProteins as protein}
<tr class="pdb-row">
Expand All @@ -41,6 +42,9 @@
<td>{protein.prob}</td>
<td>{protein.evalue}</td>
<td class="pdb-desc">{protein.description}</td>
<td>
<a href="/compare/{queryProteinName}/{protein.name}"><LinkOutline size="sm" />Compare</a>
</td>
</tr>
{/each}
</table>
Expand Down

0 comments on commit d7e54e5

Please sign in to comment.