From e87b22801b76ae3bf8488464e3b482e4df59fa73 Mon Sep 17 00:00:00 2001 From: elforjani13 <39470382+elforjani13@users.noreply.github.com> Date: Mon, 28 Mar 2022 13:46:41 +0200 Subject: [PATCH] BIG-221: remove non inventory radio. --- src/containers/Items/ItemFormPrimarySection.js | 12 +++++------- src/containers/Items/utils.js | 1 - 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/containers/Items/ItemFormPrimarySection.js b/src/containers/Items/ItemFormPrimarySection.js index 4e779f514..88987a2a7 100644 --- a/src/containers/Items/ItemFormPrimarySection.js +++ b/src/containers/Items/ItemFormPrimarySection.js @@ -47,11 +47,6 @@ export default function ItemFormPrimarySection() {
-
- -
); @@ -86,7 +81,6 @@ export default function ItemFormPrimarySection() { disabled={!isNewMode && item.type === 'inventory'} > } value="service" /> - } value="non-inventory" /> } value="inventory" /> @@ -126,7 +120,11 @@ export default function ItemFormPrimarySection() { helperText={} inline={true} > - + )} diff --git a/src/containers/Items/utils.js b/src/containers/Items/utils.js index 8031e56ea..6f3da4c94 100644 --- a/src/containers/Items/utils.js +++ b/src/containers/Items/utils.js @@ -64,7 +64,6 @@ export const transitionItemTypeKeyToLabel = (itemTypeKey) => { const table = { service: intl.get('service'), inventory: intl.get('inventory'), - 'non-inventory': intl.get('non_inventory'), }; return typeof table[itemTypeKey] === 'string' ? table[itemTypeKey] : ''; };