Skip to content
Snippets Groups Projects
Commit f45681da authored by Matthias Konitzny's avatar Matthias Konitzny :fire:
Browse files

spaceselect now shows the correct space name on load

parent 75bd3fd6
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ function SpaceSelect({ onLoadSpace, spaces, spaceId }: SpaceSelectProps) {
<div id="spaceselect">
<select
onChange={(event) => onLoadSpace(event.target.value)}
defaultValue={spaceId}
value={spaceId}
>
{spaces.map((spaceName: string) => (
<option key={spaceName} value={spaceName}>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment