mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +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;
|
@property() public onboardingLocalize!: LocalizeFunc;
|
||||||
|
|
||||||
@state() private _entries?: ConfigEntry[];
|
@state() private _entries: ConfigEntry[] = [];
|
||||||
|
|
||||||
@state() private _discovered?: DataEntryFlowProgress[];
|
@state() private _discovered?: DataEntryFlowProgress[];
|
||||||
|
|
||||||
@ -105,7 +105,7 @@ class OnboardingIntegrations extends SubscribeMixin(LitElement) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected render() {
|
protected render() {
|
||||||
if (!this._entries || !this._discovered) {
|
if (!this._discovered) {
|
||||||
return nothing;
|
return nothing;
|
||||||
}
|
}
|
||||||
// Render discovered and existing entries together sorted by localized title.
|
// Render discovered and existing entries together sorted by localized title.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user