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
|
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) => {
|
||||||
|
|
Loading…
Reference in New Issue