aboutsummaryrefslogtreecommitdiff
path: root/src/components/Form
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Form')
-rw-r--r--src/components/Form/Items/AddNewItemForm.js2
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>
}