mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-16 02:30:11 +00:00
fix(dashboard): fix public profile page links
This commit is contained in:
parent
e868b2c5d3
commit
98f7a39185
5 changed files with 5 additions and 7 deletions
|
|
@ -19,7 +19,6 @@
|
|||
|
||||
export let isPublic: boolean;
|
||||
export let itemType: string;
|
||||
export let isMainDash: boolean;
|
||||
export let itemsPerPage: number;
|
||||
export let currentPage: number;
|
||||
export let fullLength: number;
|
||||
|
|
@ -31,7 +30,7 @@
|
|||
function getItemLink(item: Member | Group): string {
|
||||
let url: string;
|
||||
|
||||
if (isMainDash) url = "/dash/";
|
||||
if (!isPublic) url = "/dash/";
|
||||
else url = "/profile/";
|
||||
|
||||
if (itemType === "member") url += "m/";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue