diff options
author | 2021-10-15 09:48:06 +0200 | |
---|---|---|
committer | 2021-10-15 09:48:06 +0200 | |
commit | 14d2364fc69e0222133115c55a36286986006098 (patch) | |
tree | 9e9b3c41ef742bbe87ca1632b292c67043051957 /src/features/workspaces/components/WorkspaceDrawerItem.js | |
parent | 5.6.3-nightly.34 [skip ci] (diff) | |
download | ferdium-app-14d2364fc69e0222133115c55a36286986006098.tar.gz ferdium-app-14d2364fc69e0222133115c55a36286986006098.tar.zst ferdium-app-14d2364fc69e0222133115c55a36286986006098.zip |
chore: update eslint setup (#2074)
Diffstat (limited to 'src/features/workspaces/components/WorkspaceDrawerItem.js')
-rw-r--r-- | src/features/workspaces/components/WorkspaceDrawerItem.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/features/workspaces/components/WorkspaceDrawerItem.js b/src/features/workspaces/components/WorkspaceDrawerItem.js index 237f9488b..d3c9fa767 100644 --- a/src/features/workspaces/components/WorkspaceDrawerItem.js +++ b/src/features/workspaces/components/WorkspaceDrawerItem.js | |||
@@ -118,14 +118,12 @@ class WorkspaceDrawerItem extends Component { | |||
118 | isActive ? classes.isActiveItem : null, | 118 | isActive ? classes.isActiveItem : null, |
119 | ])} | 119 | ])} |
120 | onClick={onClick} | 120 | onClick={onClick} |
121 | onContextMenu={() => | 121 | onContextMenu={() => onContextMenuEditClick && contextMenu.popup()} |
122 | onContextMenuEditClick && contextMenu.popup() | ||
123 | } | ||
124 | data-tip={`${ | 122 | data-tip={`${ |
125 | shortcutIndex <= 9 | 123 | shortcutIndex <= 9 |
126 | ? `(${cmdOrCtrlShortcutKey(false)}+${altKey( | 124 | ? `(${cmdOrCtrlShortcutKey(false)}+${altKey( |
127 | false, | 125 | false, |
128 | )}+${shortcutIndex})` | 126 | )}+${shortcutIndex})` |
129 | : '' | 127 | : '' |
130 | }`} | 128 | }`} |
131 | > | 129 | > |