Skip to content

Commit 8c73ba9

Browse files
authored
Fall back to boolean on canSelectAcrossSites instead of null (#332)
1 parent 2547d51 commit 8c73ba9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Structures/Nav.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public static function fromModel(Model $model)
1818
->collections($model->settings['collections'] ?? null)
1919
->maxDepth($model->settings['max_depth'] ?? null)
2020
->expectsRoot($model->settings['expects_root'] ?? false)
21-
->canSelectAcrossSites($model->settings['select_across_sites'] ?? null)
21+
->canSelectAcrossSites($model->settings['select_across_sites'] ?? false)
2222
->model($model);
2323
}
2424

0 commit comments

Comments
 (0)