mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-01 16:45:13 -05:00
fix(ui): delete all layers button
This commit is contained in:
@@ -26,7 +26,7 @@ export const DeleteAllLayersButton = memo(() => {
|
||||
leftIcon={<PiTrashSimpleBold />}
|
||||
variant="ghost"
|
||||
colorScheme="error"
|
||||
isDisabled={entityCount > 0}
|
||||
isDisabled={entityCount === 0}
|
||||
data-testid="control-layers-delete-all-layers-button"
|
||||
>
|
||||
{t('controlLayers.deleteAll')}
|
||||
|
||||
Reference in New Issue
Block a user