From 00ac89287b7b7bf30a2f39fbf123717e6eacbeaf Mon Sep 17 00:00:00 2001 From: Riccardo Balbo Date: Tue, 22 Oct 2024 10:57:14 +0200 Subject: [PATCH] Fix readonly (https://github.com/stackernews/stacker.news/pull/1479#pullrequestreview-2383552377) --- pages/settings/wallets/[wallet].js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/settings/wallets/[wallet].js b/pages/settings/wallets/[wallet].js index 0343893f..0672a376 100644 --- a/pages/settings/wallets/[wallet].js +++ b/pages/settings/wallets/[wallet].js @@ -110,7 +110,7 @@ function WalletFields ({ wallet: { config, fields, isConfigured } }) { ...props, name, initialValue: config?.[name], - readOnly: isClient && isConfigured && editable === false && !!config?.[name], + readOnly: isClient && editable === false && ((isConfigured && !!config?.[name]) || !!props.value), groupClassName: props.hidden ? 'd-none' : undefined, label: label ? (