fix(ags overview): use get_children instead of overlays array
This commit is contained in:
parent
6f574f7b2d
commit
71b6939bfb
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ export function updateClients(box) {
|
||||||
let clients = JSON.parse(result).filter(client => client.class)
|
let clients = JSON.parse(result).filter(client => client.class)
|
||||||
|
|
||||||
box._workspaces.forEach(workspace => {
|
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();
|
let toRemove = fixed.get_children();
|
||||||
|
|
||||||
clients.filter(client => client.workspace.id == workspace._id).forEach(client => {
|
clients.filter(client => client.workspace.id == workspace._id).forEach(client => {
|
||||||
|
|
Loading…
Reference in a new issue