fix(ui): delete all layers button

This commit is contained in:
psychedelicious
2024-06-17 16:48:09 +10:00
parent 322790bfdb
commit fa447b2813

View File

@@ -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')}