diff --git a/invokeai/frontend/web/src/features/controlLayers/components/DeleteAllLayersButton.tsx b/invokeai/frontend/web/src/features/controlLayers/components/DeleteAllLayersButton.tsx index 647a8fba2c..fbe9c22f68 100644 --- a/invokeai/frontend/web/src/features/controlLayers/components/DeleteAllLayersButton.tsx +++ b/invokeai/frontend/web/src/features/controlLayers/components/DeleteAllLayersButton.tsx @@ -26,7 +26,7 @@ export const DeleteAllLayersButton = memo(() => { leftIcon={} variant="ghost" colorScheme="error" - isDisabled={entityCount > 0} + isDisabled={entityCount === 0} data-testid="control-layers-delete-all-layers-button" > {t('controlLayers.deleteAll')}