aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/workspaces/components/WorkspaceDrawer.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/workspaces/components/WorkspaceDrawer.js')
-rw-r--r--src/features/workspaces/components/WorkspaceDrawer.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/features/workspaces/components/WorkspaceDrawer.js b/src/features/workspaces/components/WorkspaceDrawer.js
index f4ee89a14..e991b9909 100644
--- a/src/features/workspaces/components/WorkspaceDrawer.js
+++ b/src/features/workspaces/components/WorkspaceDrawer.js
@@ -199,8 +199,9 @@ class WorkspaceDrawer extends Component {
199 }} 199 }}
200 services={getServicesForWorkspace(null)} 200 services={getServicesForWorkspace(null)}
201 isActive={actualWorkspace == null} 201 isActive={actualWorkspace == null}
202 shortcutIndex={0}
202 /> 203 />
203 {workspaces.map(workspace => ( 204 {workspaces.map((workspace, index) => (
204 <WorkspaceDrawerItem 205 <WorkspaceDrawerItem
205 key={workspace.id} 206 key={workspace.id}
206 name={workspace.name} 207 name={workspace.name}
@@ -212,6 +213,7 @@ class WorkspaceDrawer extends Component {
212 }} 213 }}
213 onContextMenuEditClick={() => workspaceActions.edit({ workspace })} 214 onContextMenuEditClick={() => workspaceActions.edit({ workspace })}
214 services={getServicesForWorkspace(workspace)} 215 services={getServicesForWorkspace(workspace)}
216 shortcutIndex={index + 1}
215 /> 217 />
216 ))} 218 ))}
217 <div 219 <div