Make user profile public.

This commit is contained in:
Yang Luo
2021-03-21 00:44:19 +08:00
parent 7f367ae346
commit 55b62e9786
2 changed files with 4 additions and 1 deletions

View File

@ -62,6 +62,9 @@ export function showMessage(type, text) {
}
export function isAdminUser(account) {
if (account === null) {
return false;
}
return account.owner === "built-in" || account.isGlobalAdmin === true;
}