share link for DNS

This commit is contained in:
2024-04-10 08:06:21 +01:00
parent 7014323161
commit 44f067d2aa
2 changed files with 68 additions and 17 deletions
+2 -1
View File
@@ -45,7 +45,8 @@ export default function Footer(props) {
(router.route == "/case" ||
router.route == "/dnsdetails" ||
router.route == "/myportal/case"
? "/case/" + encodeURIComponent(props.ticketnumber)
? (router.route == "/dnsdetails" ? "/dns/" : "/case/") +
encodeURIComponent(props.ticketnumber)
: router.asPath);
const shareSubjectStr =
t("common:social-shared-from") +