Skip to content

Commit e497262

Browse files
committed
fix(pages): linked pages selection
1 parent ac26310 commit e497262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/client/src/layouts/PagesLayout/RightSidebar/PageProperties/PageSelection.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function selectLinkedPages() {
5252
5353
for (const match of matches) {
5454
for (let i = 1; i < match.length; i++) {
55-
if (match[i] !== page.value.id) {
55+
if (match[i] != null && match[i] !== page.value.id) {
5656
pageSelectionStore().selectedPages.add(match[i]);
5757
}
5858
}

0 commit comments

Comments
 (0)