fix: prevent render loop

This commit is contained in:
vinceh121 2025-08-09 01:35:40 +02:00
parent 15c37eb1d9
commit 118ccf1d7f
No known key found for this signature in database
GPG key ID: 780725DCACF96F16

View file

@ -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 = {