Skip to content

Commit 496c50e

Browse files
committed
fix(pages): fix page creation on another group
1 parent e93a03a commit 496c50e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/client/src/layouts/PagesLayout/RightSidebar/NoteProperties/NewPageDialog.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ const groupOptions = computed(() => [
178178
.filter((item) => item != null),
179179
]);
180180
181-
const destGroupId = ref<string>();
181+
const destGroupId = ref('');
182182
183183
// Group creation
184184
@@ -235,7 +235,7 @@ async function _createPage() {
235235
236236
const response = await createPage({
237237
parentPageId: page.value.id,
238-
destGroupId: page.value.react.groupId,
238+
destGroupId: destGroupId.value,
239239
240240
pageRelativeTitle: pageRelativeTitle.value,
241241

0 commit comments

Comments
 (0)