fix(ui): delete all layers button

This commit is contained in:
psychedelicious 2024-06-17 16:48:09 +10:00
parent ddfc8785b4
commit af4f258489

View File

@ -26,7 +26,7 @@ export const DeleteAllLayersButton = memo(() => {
leftIcon={<PiTrashSimpleBold />} leftIcon={<PiTrashSimpleBold />}
variant="ghost" variant="ghost"
colorScheme="error" colorScheme="error"
isDisabled={entityCount > 0} isDisabled={entityCount === 0}
data-testid="control-layers-delete-all-layers-button" data-testid="control-layers-delete-all-layers-button"
> >
{t('controlLayers.deleteAll')} {t('controlLayers.deleteAll')}