fix shortcuts not working

This commit is contained in:
KDSBrowne 2020-01-01 21:46:50 +00:00
parent aa26c1d512
commit d3144684c1

View File

@ -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 {