Browse Source

Invert adminKey disabledBy

pull/277/head
Hunter Thornsberry 2 years ago
parent
commit
f7a2e5f76b
  1. 2
      src/components/PageComponents/Config/Security.tsx

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

@ -199,7 +199,7 @@ export const Security = (): JSX.Element => {
"The public key authorized to send admin messages to this node",
validationText: adminKeyValidationText,
inputChange: adminKeyInputChangeEvent,
disabledBy: [{ fieldName: "adminChannelEnabled" }],
disabledBy: [{ fieldName: "adminChannelEnabled", invert: true }],
properties: {
value: adminKey,
},

Loading…
Cancel
Save