mirror of
https://github.com/lemeow125/Borrowing-TrackerFrontend.git
synced 2025-09-17 04:59:35 +08:00
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:
parent
9bb312808e
commit
a6b6925310
4 changed files with 12 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue