bugfix: MD Select throwin console err

This commit is contained in:
Michael Shanks 2020-03-04 22:48:06 +00:00
parent 740677716d
commit 8c1ec0594f
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ function createItemsStore(componentOnSelect) {
} }
function getItemIdx(items, itemId) { function getItemIdx(items, itemId) {
return items.findIndex(i => i._id === itemId); return items.findIndex(i => i && i._id === itemId);
} }
return { return {