diff --git a/src/components/PluginSettings/components/SettingArrayComponent.tsx b/src/components/PluginSettings/components/SettingArrayComponent.tsx index 35ee43cb0..ea6b2912a 100644 --- a/src/components/PluginSettings/components/SettingArrayComponent.tsx +++ b/src/components/PluginSettings/components/SettingArrayComponent.tsx @@ -437,32 +437,31 @@ export function SettingArrayComponent({ > setText(v)} value={text} /> - {text === "" ? null : - !isNaN(Number(text)) ? - : - < Button - id={cl("search-button")} - size={Button.Sizes.MIN} - onClick={() => openSearchModal(text)} - style={ - { background: "none" } - } - > - - + {!isNaN(Number(text)) || text === "" ? + : + < Button + id={cl("search-button")} + size={Button.Sizes.MIN} + onClick={() => openSearchModal(text)} + style={ + { background: "none" } + } + > + + }