💅 style(dock): handle DOCK_HIDE_SPECIAL_WORKSPACE config in workspaces component

This commit is contained in:
sankalp committed 2025-06-26 03:29:01 +05:45
1 parent 0505bc1bb5
commit 226450d2bd
3 files changed
+9

No files matched your search

+6
View File
@@ -101,6 +101,9 @@ workspaces = Workspaces(
)
for i in range(1, 11)
],
buttons_factory=None
if data.DOCK_HIDE_SPECIAL_WORKSPACE
else Workspaces.default_buttons_factory,
)
workspaces_num = Workspaces(
@@ -123,6 +126,9 @@ workspaces_num = Workspaces(
)
for i in range(1, 11)
],
buttons_factory=None
if data.DOCK_HIDE_SPECIAL_WORKSPACE
else Workspaces.default_buttons_factory,
)