Skip to content

Commit

Permalink
Fix Range Test default and saved values (#113)
Browse files Browse the repository at this point in the history
* defaultValues to rangeTest

* found some more while I was there
  • Loading branch information
pdxlocations authored Jul 9, 2023
1 parent 9e8c483 commit a65bc37
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const CannedMessage = (): JSX.Element => {
return (
<DynamicForm<CannedMessageValidation>
onSubmit={onSubmit}
defaultValues={moduleConfig.mqtt}
defaultValues={moduleConfig.cannedMessage}
fieldGroups={[
{
label: "Canned Message Settings",
Expand Down
2 changes: 1 addition & 1 deletion src/components/PageComponents/ModuleConfig/RangeTest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const RangeTest = (): JSX.Element => {
return (
<DynamicForm<RangeTestValidation>
onSubmit={onSubmit}
defaultValues={moduleConfig.mqtt}
defaultValues={moduleConfig.rangeTest}
fieldGroups={[
{
label: "Range Test Settings",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const StoreForward = (): JSX.Element => {
return (
<DynamicForm<StoreForwardValidation>
onSubmit={onSubmit}
defaultValues={moduleConfig.mqtt}
defaultValues={moduleConfig.storeForward}
fieldGroups={[
{
label: "Store & Forward Settings",
Expand Down

0 comments on commit a65bc37

Please sign in to comment.