From f314a314d4863eaa79b8a39a3eea3e26f36237df Mon Sep 17 00:00:00 2001 From: tobiu Date: Sat, 20 Apr 2024 14:32:12 +0200 Subject: [PATCH] layout.Card: afterSetActiveIndex() => replaced the core.Base check with component.Base --- src/layout/Card.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layout/Card.mjs b/src/layout/Card.mjs index 9d8d5c251..6a774f9cb 100644 --- a/src/layout/Card.mjs +++ b/src/layout/Card.mjs @@ -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);