1
0
Fork 0
mirror of synced 2024-10-02 18:16:29 +13:00

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

View file

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