Add a button to deselect all stolen data entries

This commit is contained in:
Kuba Orlik 2025-12-14 09:07:54 +01:00
parent e9ff6cfe3c
commit 1dae3f6db8

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