fix(ags overview): use get_children instead of overlays array

This commit is contained in:
matt1432 2023-10-07 20:37:46 -04:00
parent 6f574f7b2d
commit 71b6939bfb

View file

@ -72,7 +72,7 @@ export function updateClients(box) {
let clients = JSON.parse(result).filter(client => client.class)
box._workspaces.forEach(workspace => {
let fixed = workspace.child.child.overlays[1].children[0];
let fixed = workspace.child.child.get_children()[2].children[0];
let toRemove = fixed.get_children();
clients.filter(client => client.workspace.id == workspace._id).forEach(client => {