Poprawa zaznaczania kawałków danych - teraz nie trzeba klikać na
checkbox, wystarczy klikać na labelkę
This commit is contained in:
parent
5f29730613
commit
65e1ab2ecc
|
@ -43,13 +43,16 @@ function StolenDataRow({ entry }: { entry: StolenDataEntry }) {
|
||||||
<input
|
<input
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
checked={entry.isMarked}
|
checked={entry.isMarked}
|
||||||
|
id={entry.id.toString()}
|
||||||
onChange={() => {
|
onChange={() => {
|
||||||
entry.toggleMark();
|
entry.toggleMark();
|
||||||
getMemory().emit('change', entry.request.shorthost);
|
getMemory().emit('change', entry.request.shorthost);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</td>
|
</td>
|
||||||
<th title={`Nazwa: ${entry.name}\nŹródło: ${entry.source}`}>{entry.name}</th>
|
<th title={`Nazwa: ${entry.name}\nŹródło: ${entry.source}`}>
|
||||||
|
<label htmlFor={entry.id.toString()}>{entry.name}</label>
|
||||||
|
</th>
|
||||||
<td className="icons">
|
<td className="icons">
|
||||||
{entry.source === 'cookie' ? (
|
{entry.source === 'cookie' ? (
|
||||||
<span title="Dane przechowywane w Cookies">
|
<span title="Dane przechowywane w Cookies">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user