mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-24 02:13:43 +03:00
Fix unchanging checkmarks, move mod to another category
This commit is contained in:
parent
32d8e93ddf
commit
0028c77f0d
|
@ -74,7 +74,7 @@
|
|||
ifProxyMoreDomains: {
|
||||
ifDisabled: true,
|
||||
dflt: false,
|
||||
category: 'exceptions',
|
||||
category: 'ownProxies',
|
||||
label: 'проксировать .onion, .i2p и OpenNIC',
|
||||
desc: 'Проксировать особые домены. Необходима поддержка со стороны СВОИХ прокси.',
|
||||
order: 8,
|
||||
|
|
|
@ -62,6 +62,7 @@ export default function getExceptions(theState) {
|
|||
|
||||
})
|
||||
}
|
||||
<li><input type="checkbox" style="visibility: hidden"/><a href>Смотреть последние ошибки</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -20,15 +20,13 @@ export default function getModList(theState) {
|
|||
|
||||
handleCheck(confMeta, ifChecked) {
|
||||
|
||||
this.setState({
|
||||
checks: this.state.checks.map(
|
||||
(ch, i) => i === confMeta.index ? ifChecked : ch
|
||||
)
|
||||
});
|
||||
if (ifChecked === false || !confMeta.ifChild) {
|
||||
this.handleNewValue(confMeta, ifChecked);
|
||||
} else {
|
||||
console.log('SET STATE', confMeta.index);
|
||||
this.setState({
|
||||
checks: this.state.checks.map(
|
||||
(ch, i) => i === confMeta.index ? ifChecked : ch
|
||||
)
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user