mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): delete all layers button
This commit is contained in:
parent
be5094fcb4
commit
15ad4e3f5e
@ -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')}
|
||||
|
Loading…
Reference in New Issue
Block a user