Fix sidebar buttons width, simplified restriction of technician components in homepage, and adjusted equipment instance status to match backend changes

This commit is contained in:
Keannu Christian Bernasol 2023-12-16 14:59:41 +08:00
parent 9bb312808e
commit a6b6925310
4 changed files with 12 additions and 12 deletions

View file

@ -205,7 +205,7 @@ export default function EditItemInstanceModal(props: {
<RadioGroup
aria-labelledby="demo-radio-buttons-group-label"
value={item.status}
defaultValue="Working"
defaultValue="Available"
name="radio-buttons-group"
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
setItem({ ...item, status: e.target.value });
@ -219,9 +219,9 @@ export default function EditItemInstanceModal(props: {
}}
>
<FormControlLabel
value="Working"
value="Available"
control={<Radio />}
label="Working"
label="Available"
style={styles.text_dark}
/>
<FormControlLabel