Skip to content

Commit

Permalink
qos profile fix (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
soson authored Oct 21, 2021
1 parent 61f61d1 commit a1525ea
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,9 @@ const SiteNetAccessForm: FC<Props> = ({
name="qos-profile"
value={networkAccessState.service.qosProfiles[0]}
onChange={(event) => {
if (!event.target.value) {
return;
}
setNetworkAccessState({
...networkAccessState,
service: {
Expand All @@ -327,6 +330,7 @@ const SiteNetAccessForm: FC<Props> = ({
});
}}
>
<option value="0">--- choose profile</option>
{qosProfiles.map((p) => (
<option key={`qos-profile-${p}`} value={p}>
{p}
Expand Down

0 comments on commit a1525ea

Please sign in to comment.