aboutsummaryrefslogtreecommitdiff
path: root/src/components/editors/item-editor.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/editors/item-editor.js')
-rw-r--r--src/components/editors/item-editor.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/editors/item-editor.js b/src/components/editors/item-editor.js
index e2d9d94..94c6137 100644
--- a/src/components/editors/item-editor.js
+++ b/src/components/editors/item-editor.js
@@ -44,6 +44,7 @@ const ItemEditor = (props) => {
e.preventDefault();
const item = new Item();
+ item.Id = props.item.Id;
item.Name = name;
item.Description = desc;
item.HSN = HSN;