Skip to content

Commit

Permalink
fix: fragment navigation issue fix (#1098)
Browse files Browse the repository at this point in the history
Co-authored-by: Cody's Dad <40604284+AceTheCreator@users.noreply.github.com>
  • Loading branch information
aditygrg2 and AceTheCreator authored Oct 23, 2024
1 parent fb01be6 commit fdd826e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/src/containers/Operations/Operation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const Operation: React.FunctionComponent<Props> = (props) => {
{servers.map((server) => (
<li className="inline-block mt-2 mr-2" key={server.id()}>
<a
href={`#${CommonHelpers.getIdentifier(
href={`${window.location.pathname}#${CommonHelpers.getIdentifier(
'server-' + server.id(),
config,
)}`}
Expand Down Expand Up @@ -406,7 +406,7 @@ export const OperationReplyChannelInfo: React.FunctionComponent<Props> = ({
{servers.map((server) => (
<li className="inline-block mt-2 mr-2" key={server.id()}>
<a
href={`#${CommonHelpers.getIdentifier(
href={`${window.location.pathname}#${CommonHelpers.getIdentifier(
'server-' + server.id(),
config,
)}`}
Expand Down

0 comments on commit fdd826e

Please sign in to comment.