Skip to content

Commit

Permalink
resource use id instead of external_id
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Nov 9, 2023
1 parent 05df8c0 commit edd2c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Resource/ListView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export default function ListView() {
<div className="mt-2 flex">
<button
data-testid="resource-details"
onClick={(_) => navigate(`/resource/${resource.external_id}`)}
onClick={(_) => navigate(`/resource/${resource.id}`)}
className="btn btn-default mr-2 w-full bg-white"
>
<i className="fas fa-eye mr-2" /> All Details
Expand Down

0 comments on commit edd2c04

Please sign in to comment.