fix(dashboard): fix page links from dashboard
This commit is contained in:
parent
e33ca27dd5
commit
380b01c364
@ -56,7 +56,7 @@
|
||||
|
||||
function getGroupPageUrl(randomizer?: boolean) {
|
||||
let str: string;
|
||||
if (pathName.startsWith("/dash/")) str = "/dash";
|
||||
if (pathName.startsWith("/dash")) str = "/dash";
|
||||
else str = "/profile";
|
||||
|
||||
str += `/g/${group.id}`;
|
||||
|
@ -73,7 +73,7 @@
|
||||
|
||||
function getMemberPageUrl() {
|
||||
let str: string;
|
||||
if (pathName.startsWith("/dash/")) str = "/dash";
|
||||
if (pathName.startsWith("/dash")) str = "/dash";
|
||||
else str = "/profile";
|
||||
|
||||
str += `/m/${member.id}`;
|
||||
@ -83,7 +83,7 @@
|
||||
|
||||
function getSystemPageUrl() {
|
||||
let str: string;
|
||||
if (pathName.startsWith("/dash/")) str = "/dash";
|
||||
if (pathName.startsWith("/dash")) str = "/dash";
|
||||
else {
|
||||
str = "/profile";
|
||||
str += `/s/${member.system}`;
|
||||
|
Loading…
Reference in New Issue
Block a user