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