mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix(dashboard): don't show private info in public section when logged in
This commit is contained in:
parent
1a05b7e4f1
commit
73e4120d47
1 changed files with 3 additions and 3 deletions
|
|
@ -47,7 +47,7 @@
|
|||
|
||||
async function getSystem() {
|
||||
try {
|
||||
let res: System = await api().systems(systemId).get();
|
||||
let res: System = await api().systems(systemId).get({ auth: false });
|
||||
user = res;
|
||||
title = user.name ? user.name : "system";
|
||||
} catch (error) {
|
||||
|
|
@ -73,7 +73,7 @@
|
|||
loading.groups = true;
|
||||
|
||||
try {
|
||||
const res = await api().systems(systemId).members.get();
|
||||
const res = await api().systems(systemId).members.get({ auth: false });
|
||||
memberStore.set(res)
|
||||
loading.members = false;
|
||||
|
||||
|
|
@ -83,7 +83,7 @@
|
|||
}
|
||||
|
||||
try {
|
||||
const res = await api().systems(systemId).groups.get();
|
||||
const res = await api().systems(systemId).groups.get({ auth: false });
|
||||
groupStore.set(res)
|
||||
loading.groups = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue