Skip to content

Commit

Permalink
fix(gui): correct menu state for additional models
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jan 17, 2023
1 parent 4472a6f commit 7cd0345
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions gui/src/components/ModelControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ export function ModelControl() {
result: models,
selector: (result) => result.upscaling,
}}
value={params.model}
onChange={(model) => {
value={params.upscaling}
onChange={(upscaling) => {
setModel({
model,
upscaling,
});
}}
/>
Expand All @@ -77,10 +77,10 @@ export function ModelControl() {
result: models,
selector: (result) => result.correction,
}}
value={params.model}
onChange={(model) => {
value={params.correction}
onChange={(correction) => {
setModel({
model,
correction,
});
}}
/>
Expand Down

0 comments on commit 7cd0345

Please sign in to comment.