fix shortcuts not working
This commit is contained in:
parent
aa26c1d512
commit
d3144684c1
@ -18,7 +18,7 @@ const withShortcutHelper = (WrappedComponent, param) => (props) => {
|
||||
if (param !== undefined) {
|
||||
if (!Array.isArray(param)) {
|
||||
shortcuts = shortcuts
|
||||
.filter(el => el.descIdLowerCase === param.toLowerCase())
|
||||
.filter(el => el.descId.toLowerCase() === param.toLowerCase())
|
||||
.map(el => el.accesskey)
|
||||
.pop();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user