mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Event log is now userid based instead of username based.
This commit is contained in:
parent
7d085e7206
commit
0e549631ac
120 changed files with 109 additions and 167 deletions
|
@ -2612,7 +2612,7 @@
|
|||
if ((message.nodeid != null) && (currentNode != null) && (message.nodeid == currentNode._id)) {
|
||||
currentDeviceEvents = message.events;
|
||||
mainUpdate(1024);
|
||||
} else if ((message.user != null) && (message.user == currentUser.name)) {
|
||||
} else if ((message.userid != null) && (currentUser != null) && (message.userid == currentUser._id)) {
|
||||
currentUserEvents = message.events;
|
||||
mainUpdate(2048);
|
||||
} else {
|
||||
|
@ -15182,7 +15182,7 @@
|
|||
}
|
||||
|
||||
function refreshUsersEvents() {
|
||||
meshserver.send({ action: 'events', limit: parseInt(p31limitdropdown.value), user: currentUser.name });
|
||||
meshserver.send({ action: 'events', limit: parseInt(p31limitdropdown.value), userid: currentUser._id });
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue