Skip to content

Commit

Permalink
Merge branch 'develop' into fix#6560
Browse files Browse the repository at this point in the history
  • Loading branch information
konavivekramakrishna authored Nov 9, 2023
2 parents c427646 + 88c64b7 commit 9c2530c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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
2 changes: 1 addition & 1 deletion src/Components/Resource/ResourceBoard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const ResourceCard = ({ resource }: any) => {
<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
2 changes: 1 addition & 1 deletion src/Components/Resource/ResourceDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export default function ResourceDetails(props: { id: string }) {
<ButtonV2
data-testid="update-status"
className="mt-4 w-full sm:mt-2"
href={`/resource/${data.external_id}/update`}
href={`/resource/${data.id}/update`}
>
Update Status/Details
</ButtonV2>
Expand Down

0 comments on commit 9c2530c

Please sign in to comment.