Add a button to deselect all stolen data entries #129

Open
kuba wants to merge 1 commits from unselect-all into develop
Showing only changes of commit 1dae3f6db8 - Show all commits

View File

@ -36,7 +36,15 @@ export function StolenData({
return (
<div className="stolen-data-container">
<span>Domeny{detailsVisibility ? ' oraz przesłane informacje' : null}</span>
<br />
<button
onClick={() => {
clusters.forEach((cluster) => cluster.undoMark());
}}
style={{ marginTop: '8px', lineHeight: '32px' }}
>
Odznacz wszystkie
</button>
{clusters.map((cluster) => {
return (
<StolenDataCluster