mirror of
https://github.com/Lissy93/dashy.git
synced 2025-12-06 08:34:14 +01:00
Merge 118ccf1d7f into 996de036e8
This commit is contained in:
commit
0946afc7ee
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ const getUsers = () => {
|
||||||
}
|
}
|
||||||
// Otherwise, return the users array, if available
|
// Otherwise, return the users array, if available
|
||||||
|
|
||||||
const users = auth.users || [];
|
const users = auth.users ? [...auth.users] : [];
|
||||||
if (isOidcEnabled()) {
|
if (isOidcEnabled()) {
|
||||||
if (localStorage[localStorageKeys.USERNAME]) {
|
if (localStorage[localStorageKeys.USERNAME]) {
|
||||||
const user = {
|
const user = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue