Skip to content

Commit

Permalink
ADG-8737 add missing version, remove validation call
Browse files Browse the repository at this point in the history
  • Loading branch information
IldarKamalov committed Jul 1, 2024
1 parent 3993f4c commit 06917df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Settings/Encryption/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/ui/Version.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 06917df

Please sign in to comment.