From 9437d701b206ac7a40f78763ae11fc88f1477a0b Mon Sep 17 00:00:00 2001
From: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
Date: Thu, 2 May 2024 08:46:09 +1000
Subject: [PATCH] fix(ui): disable clear processor when no processor selected
---
.../ControlAndIPAdapter/ControlAdapterProcessorTypeSelect.tsx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/invokeai/frontend/web/src/features/controlLayers/components/ControlAndIPAdapter/ControlAdapterProcessorTypeSelect.tsx b/invokeai/frontend/web/src/features/controlLayers/components/ControlAndIPAdapter/ControlAdapterProcessorTypeSelect.tsx
index 8041f7f6ba..46e6131353 100644
--- a/invokeai/frontend/web/src/features/controlLayers/components/ControlAndIPAdapter/ControlAdapterProcessorTypeSelect.tsx
+++ b/invokeai/frontend/web/src/features/controlLayers/components/ControlAndIPAdapter/ControlAdapterProcessorTypeSelect.tsx
@@ -56,8 +56,9 @@ export const ControlAdapterProcessorTypeSelect = memo(({ config, onChange }: Pro
}
variant="ghost"
size="sm"