Browse Source

bugfix: MD Select throwin console err

master
Michael Shanks 7 years ago
parent
commit
b43c6fb81d
  1. 2
      packages/materialdesign-components/src/Common/ItemStore.js

2
packages/materialdesign-components/src/Common/ItemStore.js

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

Loading…
Cancel
Save