Skip to content

Commit

Permalink
Merge pull request #93 from paralus/loginPage-fix
Browse files Browse the repository at this point in the history
API Documentation Reference
  • Loading branch information
niravparikh05 authored Jun 20, 2022
2 parents 26646e3 + eeca127 commit d7cd410
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/appMain/components/TopNavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ const TopNavBar = () => {
const hide = !UserSession.visibleAdmin;
const docs_link =
partnerDetail?.settings?.docs_link || "https://www.paralus.io/docs";
const api_docs =
partnerDetail?.settings?.docs_link ||
"https://www.paralus.io/docs/references/api-reference";

return (
<div>
Expand Down Expand Up @@ -246,7 +249,7 @@ const TopNavBar = () => {
<NavButton
icon={<AssignmentIcon />}
label="API Docs"
path="/swagger-ui/"
path={api_docs}
blank
/>
</div>
Expand Down

0 comments on commit d7cd410

Please sign in to comment.