mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fetch entries integration onboarding (#16424)
* Fetch loaded entries in integration onboarding * Proper fix
This commit is contained in:
parent
c7ec6903fe
commit
02542e528e
@ -48,7 +48,7 @@ class OnboardingIntegrations extends SubscribeMixin(LitElement) {
|
||||
|
||||
@property() public onboardingLocalize!: LocalizeFunc;
|
||||
|
||||
@state() private _entries?: ConfigEntry[];
|
||||
@state() private _entries: ConfigEntry[] = [];
|
||||
|
||||
@state() private _discovered?: DataEntryFlowProgress[];
|
||||
|
||||
@ -105,7 +105,7 @@ class OnboardingIntegrations extends SubscribeMixin(LitElement) {
|
||||
}
|
||||
|
||||
protected render() {
|
||||
if (!this._entries || !this._discovered) {
|
||||
if (!this._discovered) {
|
||||
return nothing;
|
||||
}
|
||||
// Render discovered and existing entries together sorted by localized title.
|
||||
|
Loading…
x
Reference in New Issue
Block a user