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

Show currently selected language in profile settings. Resolves #1797 #1800

Merged
merged 1 commit into from
Oct 18, 2018

Conversation

thomasloven
Copy link
Contributor

No description provided.

@zsarnett
Copy link
Contributor

zsarnett commented Oct 18, 2018

Would using a computed property be better in this case?

languageSelection: {
  type: String,
  observer: "_languageSelectionChanged",
  computed: "_computeLanguage(hass.language)",
_computeLanguage(language) {
  return language;
}

@zsarnett
Copy link
Contributor

Actually this doesn't seem to be working. Setting the computed Property disables the observer for some reason

@balloob balloob merged commit 9d13925 into master Oct 18, 2018
@balloob balloob deleted the fix-current-language-not-shown branch October 18, 2018 07:55
@ghost ghost removed the in progress label Oct 18, 2018
@github-actions github-actions bot locked and limited conversation to collaborators Jul 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants