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 (param !== undefined) {
|
||||||
if (!Array.isArray(param)) {
|
if (!Array.isArray(param)) {
|
||||||
shortcuts = shortcuts
|
shortcuts = shortcuts
|
||||||
.filter(el => el.descIdLowerCase === param.toLowerCase())
|
.filter(el => el.descId.toLowerCase() === param.toLowerCase())
|
||||||
.map(el => el.accesskey)
|
.map(el => el.accesskey)
|
||||||
.pop();
|
.pop();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user