Fixed issue with removing shortcuts in redux
• Fixed: - issue with removing shortcuts in redux
This commit is contained in:
parent
d179d7d567
commit
92c4fa3fda
|
@ -86,7 +86,7 @@ export function removeShortcut(shortcutObjectId, shortcutType, shortcutId) {
|
|||
|
||||
let id
|
||||
if (shortcutObjectId) {
|
||||
shortcutObjectId = id
|
||||
id = shortcutObjectId
|
||||
} else if (shortcutType && shortcutId) {
|
||||
const shortcuts = getState().getIn(['shortcuts', 'items'])
|
||||
const shortcut = shortcuts.find((s) => {
|
||||
|
|
Loading…
Reference in New Issue