Skip to content

Commit

Permalink
fix: update selected instance after rendering
Browse files Browse the repository at this point in the history
selectedInstance gets set to incomplete when the template
instance is not available. Sync after rendering to restore it
to the item instance.

Signed-off-by: Patrik Kullman <[email protected]>
  • Loading branch information
Patrik Kullman authored and cristinecula committed Jun 17, 2020
1 parent 8bb9a28 commit 30d7a93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cosmoz-data-nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -1096,6 +1096,7 @@ class CosmozDataNav extends translatable(mixinBehaviors([IronResizableBehavior],
// resize is a expensive operation
this._renderRan = this._notifyElementResize();
}
this._setSelectedInstance(this._getInstance(element));
}

_onCachePurge(e) {
Expand Down

0 comments on commit 30d7a93

Please sign in to comment.