mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-08-16 22:20:30 +03:00
ADG-8737 add missing version, remove validation call
This commit is contained in:
parent
3993f4c476
commit
06917df08b
@ -56,6 +56,8 @@ NOTE: Add new changes BELOW THIS COMMENT.
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
- Unnecessary validation call on the encryption page.
|
||||||
|
- Missing version in the footer.
|
||||||
- Panic caused by missing user-specific blocked services object in configuration
|
- Panic caused by missing user-specific blocked services object in configuration
|
||||||
file ([#7069]).
|
file ([#7069]).
|
||||||
- Tracking `/etc/hosts` file changes causing panics within particular
|
- Tracking `/etc/hosts` file changes causing panics within particular
|
||||||
|
@ -38,7 +38,7 @@ class Encryption extends Component<EncryptionProps> {
|
|||||||
handleFormChange = debounce((values) => {
|
handleFormChange = debounce((values) => {
|
||||||
const submitValues = this.getSubmitValues(values);
|
const submitValues = this.getSubmitValues(values);
|
||||||
|
|
||||||
if (submitValues.enabled || submitValues.serve_plain_dns) {
|
if (submitValues.enabled) {
|
||||||
this.props.validateTlsConfig(submitValues);
|
this.props.validateTlsConfig(submitValues);
|
||||||
}
|
}
|
||||||
}, DEBOUNCE_TIMEOUT);
|
}, DEBOUNCE_TIMEOUT);
|
||||||
|
@ -12,7 +12,7 @@ const Version = () => {
|
|||||||
const dashboard = useSelector((state: RootState) => state.dashboard, shallowEqual);
|
const dashboard = useSelector((state: RootState) => state.dashboard, shallowEqual);
|
||||||
const install = useSelector((state: RootState) => state.install, shallowEqual);
|
const install = useSelector((state: RootState) => state.install, shallowEqual);
|
||||||
|
|
||||||
if (!dashboard || !install) {
|
if (!dashboard && !install) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user