Skip to content

Commit fdd826e

Browse files
fix: fragment navigation issue fix (#1098)
Co-authored-by: Cody's Dad <40604284+AceTheCreator@users.noreply.github.com>
1 parent fb01be6 commit fdd826e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/src/containers/Operations/Operation.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const Operation: React.FunctionComponent<Props> = (props) => {
5353
{servers.map((server) => (
5454
<li className="inline-block mt-2 mr-2" key={server.id()}>
5555
<a
56-
href={`#${CommonHelpers.getIdentifier(
56+
href={`${window.location.pathname}#${CommonHelpers.getIdentifier(
5757
'server-' + server.id(),
5858
config,
5959
)}`}
@@ -406,7 +406,7 @@ export const OperationReplyChannelInfo: React.FunctionComponent<Props> = ({
406406
{servers.map((server) => (
407407
<li className="inline-block mt-2 mr-2" key={server.id()}>
408408
<a
409-
href={`#${CommonHelpers.getIdentifier(
409+
href={`${window.location.pathname}#${CommonHelpers.getIdentifier(
410410
'server-' + server.id(),
411411
config,
412412
)}`}

0 commit comments

Comments
 (0)