summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2026-09-14 19:13:52 +0800
committerlittleblack111 <littleblack11111@gmail.com>2026-09-14 19:13:52 +0800
commit654a198d61b82dba6203280163b5c92ed9d48ceb (patch)
tree855f5106881618e894a23801f91ffd1fb9ab230b
parent5cd47c0a6a8d8cb33455208aab2006e9d3c84d24 (diff)
fix(workspace): removal of id
-rw-r--r--bar/Workspace.qml2
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,