diff --git a/src/features/server/components/ActiveSessionContainer.js b/src/features/server/components/ActiveSessionContainer.js index cd4ebe6..59277b9 100644 --- a/src/features/server/components/ActiveSessionContainer.js +++ b/src/features/server/components/ActiveSessionContainer.js @@ -33,9 +33,9 @@ const ActiveSessionContainer = ({ actions, session, forwards, domain }) => { setForwardOptions(null); }; - const handleForwardClick = (link) => (event) => { - window.open(`${domain.scheme}://${domain.name}${link}`, "_blank"); - + const handleForwardClick = (forward) => (event) => { + const url = `${domain.scheme}://${domain.name}${forward.from}${forward.suffix || ""}`; + window.open(url, "_blank"); event.preventDefault(); }; diff --git a/src/features/session/components/SessionForwardsComponent.js b/src/features/session/components/SessionForwardsComponent.js index d830d54..684ae71 100644 --- a/src/features/session/components/SessionForwardsComponent.js +++ b/src/features/session/components/SessionForwardsComponent.js @@ -74,7 +74,7 @@ const SessionForwardsComponent = ({ {handleForwardClick ? ( - + {row.from} ) : (