Invert adminKey disabledBy

This commit is contained in:
Hunter Thornsberry
2024-09-07 20:24:18 -04:00
parent 2b81fc47e2
commit f7a2e5f76b
@@ -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,
},