Skip to content

Commit

Permalink
fix: parent elements properly await for children upgrade (#645)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladitasev authored Jul 12, 2019
1 parent c2a3cd0 commit 0e976f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/base/src/UI5Element.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ class UI5Element extends HTMLElement {
this._state[propertyName].push(child);
});

await allChildrenUpgraded;
await Promise.all(allChildrenUpgraded);
this._invalidate();
}

Expand Down

0 comments on commit 0e976f8

Please sign in to comment.