Use property getter method instead of directly accessing values for clients. (#569)
This commit is contained in:
@@ -258,7 +258,7 @@ export const renderLabel = (
|
||||
if (hyprlandService.focusedWorkspace.id === i || isWorkspaceActiveOnMonitor(monitor, i)) {
|
||||
return activeIndicator;
|
||||
}
|
||||
if ((hyprlandService.get_workspace(i)?.clients.length || 0) > 0) {
|
||||
if ((hyprlandService.get_workspace(i)?.get_clients().length || 0) > 0) {
|
||||
return occupiedIndicator;
|
||||
}
|
||||
if (monitor !== -1) {
|
||||
|
||||
Reference in New Issue
Block a user