mirror of
https://github.com/meshtastic/web.git
synced 2026-04-20 13:58:44 -04:00
Fix Range Test default and saved values (#113)
* defaultValues to rangeTest * found some more while I was there
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user