fix: correct some workflow problems
This commit is contained in:
@@ -56,7 +56,7 @@ export function CreateItemForm({ profile, formAction, tags }: CreateItemProps) {
|
||||
</Select>
|
||||
</FormControl>
|
||||
{profile && (
|
||||
<FormControl variant="outlined">
|
||||
<FormControl variant="outlined" required>
|
||||
<InputLabel id="tag-label">Tag</InputLabel>
|
||||
<Select
|
||||
name="tag"
|
||||
|
||||
@@ -143,6 +143,7 @@ export default function ItemsTable() {
|
||||
type="submit"
|
||||
onClick={handleCreateItemDialog}
|
||||
sx={{ width: '200px' }}
|
||||
disabled={!profile}
|
||||
>
|
||||
Create Item
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user