Skip to content

Commit

Permalink
layout.Card: afterSetActiveIndex() => replaced the core.Base check wi…
Browse files Browse the repository at this point in the history
…th component.Base
  • Loading branch information
tobiu committed Apr 20, 2024
1 parent a0f4ff9 commit f314a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layout/Card.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class Card extends Base {
item = await me.loadModule(item, i);
}

if (item instanceof Neo.core.Base) {
if (item instanceof Neo.component.Base) {
wrapperCls = item.wrapperCls;

NeoArray.remove(wrapperCls, isActiveIndex ? sCfg.inactiveItemCls : sCfg.activeItemCls);
Expand Down

0 comments on commit f314a31

Please sign in to comment.