Browse Source

change device to radio (#136)

pull/141/head
Ben Lipsey 3 years ago
committed by GitHub
parent
commit
b20c2b29b2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/components/PageComponents/Config/Position.tsx
  2. 4
      src/pages/Config/index.tsx

2
src/components/PageComponents/Config/Position.tsx

@ -23,7 +23,7 @@ export const Position = (): JSX.Element => {
defaultValues={config.position} defaultValues={config.position}
fieldGroups={[ fieldGroups={[
{ {
label: "Position settings", label: "Position Settings",
description: "Settings for the position module", description: "Settings for the position module",
fields: [ fields: [
{ {

4
src/pages/Config/index.tsx

@ -21,7 +21,7 @@ export const ConfigPage = (): JSX.Element => {
<Sidebar> <Sidebar>
<SidebarSection label="Config Sections"> <SidebarSection label="Config Sections">
<SidebarButton <SidebarButton
label="Device Config" label="Radio Config"
active={activeConfigSection === "device"} active={activeConfigSection === "device"}
onClick={() => setActiveConfigSection("device")} onClick={() => setActiveConfigSection("device")}
icon={SettingsIcon} icon={SettingsIcon}
@ -36,7 +36,7 @@ export const ConfigPage = (): JSX.Element => {
</Sidebar> </Sidebar>
<PageLayout <PageLayout
label={ label={
activeConfigSection === "device" ? "Device Config" : "Module Config" activeConfigSection === "device" ? "Radio Config" : "Module Config"
} }
actions={[ actions={[
{ {

Loading…
Cancel
Save