Skip to content

Commit 5ca46b6

Browse files
committed
chore: fix moduleParams check
1 parent a0aae9a commit 5ca46b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/moduleExtendParams.mjs

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export default function moduleExtendParams(params, allModulesParams) {
1313
}
1414
if (
1515
moduleParamName === 'navigation' &&
16+
params[moduleParamName] &&
1617
params[moduleParamName].enabled &&
1718
!params[moduleParamName].prevEl &&
1819
!params[moduleParamName].nextEl

0 commit comments

Comments
 (0)