mirror of
https://github.com/UniversityOfHelsinkiCS/ohtuilmo.git
synced 2026-10-12 19:03:41 +03:00
fix: add fallback configuration menu item
This commit is contained in:
@@ -39,6 +39,9 @@ export const StudentSelectionForm = ({
|
|||||||
}}
|
}}
|
||||||
MenuProps={{ style: { zIndex: 1600 } }}
|
MenuProps={{ style: { zIndex: 1600 } }}
|
||||||
>
|
>
|
||||||
|
<MenuItem key={0} className="configuration-menu-item" value={0} disabled>
|
||||||
|
Pick a configuration
|
||||||
|
</MenuItem>
|
||||||
{configurations.map((configuration) => (
|
{configurations.map((configuration) => (
|
||||||
<MenuItem
|
<MenuItem
|
||||||
key={configuration.id}
|
key={configuration.id}
|
||||||
@@ -67,7 +70,7 @@ export const StudentSelectionForm = ({
|
|||||||
}}
|
}}
|
||||||
MenuProps={{ style: { zIndex: 1600 } }}
|
MenuProps={{ style: { zIndex: 1600 } }}
|
||||||
>
|
>
|
||||||
<MenuItem key="0" className="group-menu-item" value="0" disabled>
|
<MenuItem key={0} className="group-menu-item" value={0} disabled>
|
||||||
Pick a group
|
Pick a group
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
{groups
|
{groups
|
||||||
|
|||||||
Reference in New Issue
Block a user