mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-26 06:17:20 +00:00
Remove owner guard from analytics (#8842)
This commit is contained in:
parent
9075146b47
commit
e425d768dd
@ -33,10 +33,6 @@ class ConfigAnalytics extends LitElement {
|
|||||||
@internalProperty() private _error?: string;
|
@internalProperty() private _error?: string;
|
||||||
|
|
||||||
protected render(): TemplateResult {
|
protected render(): TemplateResult {
|
||||||
if (!this.hass.user?.is_owner) {
|
|
||||||
return html``;
|
|
||||||
}
|
|
||||||
|
|
||||||
const error = this._error
|
const error = this._error
|
||||||
? this._error
|
? this._error
|
||||||
: !isComponentLoaded(this.hass, "analytics")
|
: !isComponentLoaded(this.hass, "analytics")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user