mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-20 07:46:37 +00:00
Fix url config when not logged in to cloud (#12176)
This commit is contained in:
parent
8de542388f
commit
ba8b20d877
@ -246,8 +246,8 @@ class ConfigUrlForm extends LitElement {
|
|||||||
|
|
||||||
if (isComponentLoaded(this.hass, "cloud")) {
|
if (isComponentLoaded(this.hass, "cloud")) {
|
||||||
fetchCloudStatus(this.hass).then((cloudStatus) => {
|
fetchCloudStatus(this.hass).then((cloudStatus) => {
|
||||||
if (cloudStatus.logged_in) {
|
|
||||||
this._cloudStatus = cloudStatus;
|
this._cloudStatus = cloudStatus;
|
||||||
|
if (cloudStatus.logged_in) {
|
||||||
this._showCustomExternalUrl = this._externalUrlValue !== null;
|
this._showCustomExternalUrl = this._externalUrlValue !== null;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user