Restore job when loading party
This commit is contained in:
parent
0096a49a07
commit
1cb9d6c843
1 changed files with 5 additions and 1 deletions
|
|
@ -67,7 +67,11 @@ const JobDropdown = React.forwardRef<HTMLSelectElement, Props>(
|
||||||
.sort((a, b) => a.order - b.order)
|
.sort((a, b) => a.order - b.order)
|
||||||
.map((item, i) => {
|
.map((item, i) => {
|
||||||
return (
|
return (
|
||||||
<option key={i} value={item.id}>
|
<option
|
||||||
|
key={i}
|
||||||
|
value={item.id}
|
||||||
|
selected={item.id === props.currentJob}
|
||||||
|
>
|
||||||
{item.name[locale]}
|
{item.name[locale]}
|
||||||
</option>
|
</option>
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue