Merge pull request 'Fix sometimes not being able to uncheck a domain - Fixes #92' (#101) from fix-checkbox into develop
Reviewed-on: #101
This commit is contained in:
commit
b2487c0511
|
@ -305,6 +305,10 @@ export default class ExtendedRequest {
|
||||||
return this.stolenData.filter((data) => data.isMarked);
|
return this.stolenData.filter((data) => data.isMarked);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unmarkAllEntries() {
|
||||||
|
this.stolenData.forEach((entry) => entry.unmark());
|
||||||
|
}
|
||||||
|
|
||||||
getHost() {
|
getHost() {
|
||||||
return new URL(this.url).host;
|
return new URL(this.url).host;
|
||||||
}
|
}
|
||||||
|
|
|
@ -191,9 +191,7 @@ export class RequestCluster extends SaferEmitter {
|
||||||
|
|
||||||
undoMark() {
|
undoMark() {
|
||||||
this.calculateRepresentativeStolenData();
|
this.calculateRepresentativeStolenData();
|
||||||
this.representativeStolenData.forEach((entry) => {
|
this.requests.forEach((request) => request.unmarkAllEntries());
|
||||||
entry.unmark();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
getDataTypeDescription(noun = 'Twojej') {
|
getDataTypeDescription(noun = 'Twojej') {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user