bugfix: MD Select throwin console err

This commit is contained in:
Michael Shanks 2020-03-04 22:48:06 +00:00
parent 19eadf83a3
commit b43c6fb81d
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 {