Skip to content

Commit 1b82138

Browse files
authored
fix: use in operator to check dev indicator option when its obj (#82629)
1 parent e771609 commit 1b82138

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/next/src/server/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,8 @@ function assignDefaults(
585585

586586
// Handle buildActivityPosition migration (needs to be done after merging with defaults)
587587
if (
588-
result.devIndicators !== false &&
588+
result.devIndicators &&
589+
typeof result.devIndicators === 'object' &&
589590
'buildActivityPosition' in result.devIndicators &&
590591
result.devIndicators.buildActivityPosition !== result.devIndicators.position
591592
) {

0 commit comments

Comments
 (0)