Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui): update wifi config only if there was a change #129

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

danielbayerlein
Copy link
Collaborator

Closes: #128

@danielbayerlein danielbayerlein added the frontend Issues related to the web-app label Jan 24, 2023
@danielbayerlein danielbayerlein self-assigned this Jan 24, 2023
Comment on lines +212 to +216
dirtyFields.wifi ||
(event?.target.type === 'reset' &&
(DEFAULT_VALUES.wifi.accessPointSsid !== wifi?.accessPointSsid ||
DEFAULT_VALUES.wifi.accessPointPassword !==
wifi?.accessPointPassword))
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what a hassle 🤯

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When clicking on Reset, the WiFi config was not reset.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woow that looks like a pain in the a$$🤣. Alright, let me test it😋.

Copy link
Owner

@TheRealKasumi TheRealKasumi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay, it seems to work :3 .

@danielbayerlein danielbayerlein merged commit d7daf11 into main Jan 24, 2023
@danielbayerlein danielbayerlein deleted the fix/issue-128_wifi branch January 24, 2023 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Issues related to the web-app
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WiFi settings from the ui are not applied
2 participants