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