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