Skip to content

Commit 957354b

Browse files
Patrik Kullmancristinecula
authored andcommitted
fix: make sure selected instance isn't updated for preloads
Previous fix was _almost_ right! Signed-off-by: Patrik Kullman <[email protected]>
1 parent 8727a8e commit 957354b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cosmoz-data-nav.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1095,8 +1095,8 @@ class CosmozDataNav extends translatable(mixinBehaviors([IronResizableBehavior],
10951095
element.__instance._showHideChildren(false);
10961096
// resize is a expensive operation
10971097
this._renderRan = this._notifyElementResize();
1098+
this._setSelectedInstance(this._getInstance(element));
10981099
}
1099-
this._setSelectedInstance(this._getInstance(element));
11001100
}
11011101

11021102
_onCachePurge(e) {

0 commit comments

Comments
 (0)