diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/components/Form/Items/AddNewItemForm.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Form/Items/AddNewItemForm.js b/src/components/Form/Items/AddNewItemForm.js index 4b2397c..de524c7 100644 --- a/src/components/Form/Items/AddNewItemForm.js +++ b/src/components/Form/Items/AddNewItemForm.js @@ -85,7 +85,7 @@ const AddNewItemForm = (props) => { } }> <option key={enterItemNamePrompt}>{enterItemNamePrompt}</option> - {props.savedItems.map( + {props.savedItems === null || props.savedItems.map( (i) => { return <option key={i.Model}>{i.Model}</option> } |