Version 0.7.2f - Fix des utilisateurs

This commit is contained in:
CICD - Pipeline 2023-09-01 00:02:47 +02:00
parent a0e425d286
commit fc875be72a
2 changed files with 54 additions and 49 deletions

View File

@ -359,7 +359,7 @@ function IOConnection(io) {
const users_data = auth.getUsers()
socket.emit("ALWAYS/USERS", users_data)
io.sockets.emit("ALWAYS/USERS", users_data)
}
} else {
@ -392,7 +392,7 @@ function IOConnection(io) {
const users_data = auth.getUsers()
socket.emit("ALWAYS/USERS", users_data)
io.sockets.emit("ALWAYS/USERS", users_data)
}

View File

@ -174,6 +174,7 @@ socket.on("ALWAYS/USERS",(data) => {
const settings_content = document.getElementById("settings_content")
if(settings_content) {
var userToPush = new Array()
@ -229,6 +230,10 @@ socket.on("ALWAYS/USERS",(data) => {
})
}
}
})