diff options
| -rw-r--r-- | bar/Workspace.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bar/Workspace.qml b/bar/Workspace.qml index 9096a2e..47e8690 100644 --- a/bar/Workspace.qml +++ b/bar/Workspace.qml @@ -18,7 +18,7 @@ Item { property bool toChild: false function getWorkspaceStats(index) { - const w = ws.values.find(i => i.id === index + 1); + const w = ws.values.find(i => i.name == index + 1); return { isOccupied: w?.toplevels?.values?.length, isActive: w?.active, |
