Fixed issue with removing shortcuts in redux

• Fixed:
- issue with removing shortcuts in redux
This commit is contained in:
mgabdev 2020-07-21 23:44:13 -05:00
parent d179d7d567
commit 92c4fa3fda
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ export function removeShortcut(shortcutObjectId, shortcutType, shortcutId) {
let id let id
if (shortcutObjectId) { if (shortcutObjectId) {
shortcutObjectId = id id = shortcutObjectId
} else if (shortcutType && shortcutId) { } else if (shortcutType && shortcutId) {
const shortcuts = getState().getIn(['shortcuts', 'items']) const shortcuts = getState().getIn(['shortcuts', 'items'])
const shortcut = shortcuts.find((s) => { const shortcut = shortcuts.find((s) => {