From 0e4c1b9f31f31c48ac1f302affd270eec4c4a7d7 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Sat, 9 Dec 2023 09:48:27 +0800 Subject: [PATCH] Adjust item instance statuses --- src/Components/AddItemModal/AddItemModal.tsx | 18 +++--------------- .../EditItemInstanceModal.tsx | 18 +++--------------- 2 files changed, 6 insertions(+), 30 deletions(-) diff --git a/src/Components/AddItemModal/AddItemModal.tsx b/src/Components/AddItemModal/AddItemModal.tsx index 50123a8..de2d997 100644 --- a/src/Components/AddItemModal/AddItemModal.tsx +++ b/src/Components/AddItemModal/AddItemModal.tsx @@ -128,7 +128,7 @@ export default function AddItemModal() { ) => { setItem({ ...item, status: e.target.value }); @@ -142,29 +142,17 @@ export default function AddItemModal() { }} > } label="Working" style={styles.text_dark} /> } label="Broken" style={styles.text_dark} /> - } - label="Under Maintenance" - style={styles.text_dark} - /> - } - label="Decomissioned" - style={styles.text_dark} - /> diff --git a/src/Components/EditItemInstanceModal/EditItemInstanceModal.tsx b/src/Components/EditItemInstanceModal/EditItemInstanceModal.tsx index 1717d3d..d582179 100644 --- a/src/Components/EditItemInstanceModal/EditItemInstanceModal.tsx +++ b/src/Components/EditItemInstanceModal/EditItemInstanceModal.tsx @@ -207,7 +207,7 @@ export default function EditItemInstanceModal(props: { ) => { setItem({ ...item, status: e.target.value }); @@ -221,29 +221,17 @@ export default function EditItemInstanceModal(props: { }} > } label="Working" style={styles.text_dark} /> } label="Broken" style={styles.text_dark} /> - } - label="Under Maintenance" - style={styles.text_dark} - /> - } - label="Decomissioned" - style={styles.text_dark} - />