Skip to content

Commit

Permalink
fix: make sure selected instance isn't updated for preloads
Browse files Browse the repository at this point in the history
Previous fix was _almost_ right!

Signed-off-by: Patrik Kullman <[email protected]>
  • Loading branch information
Patrik Kullman authored and cristinecula committed Jun 18, 2020
1 parent 8727a8e commit 957354b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cosmoz-data-nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -1095,8 +1095,8 @@ class CosmozDataNav extends translatable(mixinBehaviors([IronResizableBehavior],
element.__instance._showHideChildren(false);
// resize is a expensive operation
this._renderRan = this._notifyElementResize();
this._setSelectedInstance(this._getInstance(element));
}
this._setSelectedInstance(this._getInstance(element));
}

_onCachePurge(e) {
Expand Down

0 comments on commit 957354b

Please sign in to comment.