From 65247c4f351bb7f41268298d8b3ac5b84acef0ec Mon Sep 17 00:00:00 2001 From: Tilen Komel Date: Tue, 20 Aug 2024 18:51:02 +0200 Subject: [PATCH] Update Security tab --- src/components/PageComponents/Config/Security.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/components/PageComponents/Config/Security.tsx b/src/components/PageComponents/Config/Security.tsx index 17ec99fa..ea3b2f17 100644 --- a/src/components/PageComponents/Config/Security.tsx +++ b/src/components/PageComponents/Config/Security.tsx @@ -47,18 +47,19 @@ export const Security = (): JSX.Element => { label: "Security Settings", description: "Settings for the Security configuration", fields: [ - { - type: "text", - name: "publicKey", - label: "Public Key", - description: "Sent out to other nodes on the mesh to allow them to compute a shared secret key", - }, { type: "text", name: "privateKey", label: "Private Key", description: "Used to create a shared key with a remote device", }, + { + type: "text", + name: "publicKey", + label: "Public Key", + description: "Sent out to other nodes on the mesh to allow them to compute a shared secret key", + disabledBy: [ { fieldName: "always" } ] + }, ], }, {