diff options
author | vantezzen <hello@vantezzen.io> | 2019-10-09 09:48:41 +0200 |
---|---|---|
committer | vantezzen <hello@vantezzen.io> | 2019-10-09 09:48:41 +0200 |
commit | da9e8a3d5b11efcc8eeee325c0ac7eb7840f75af (patch) | |
tree | a189f4566c6380b86aeb04b9307aea23fc6e14d7 /src/features/workspaces/components/WorkspaceDrawer.js | |
parent | Update zh-HANT.json (diff) | |
parent | Update CHANGELOG.md (diff) | |
download | ferdium-app-da9e8a3d5b11efcc8eeee325c0ac7eb7840f75af.tar.gz ferdium-app-da9e8a3d5b11efcc8eeee325c0ac7eb7840f75af.tar.zst ferdium-app-da9e8a3d5b11efcc8eeee325c0ac7eb7840f75af.zip |
Merge branch 'master' of https://github.com/meetfranz/franz into franz-5.4.0
Diffstat (limited to 'src/features/workspaces/components/WorkspaceDrawer.js')
-rw-r--r-- | src/features/workspaces/components/WorkspaceDrawer.js | 4 |
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 |