You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/notion/actions/update-page/update-page.mjs
+17-8Lines changed: 17 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -16,21 +16,30 @@ export default {
16
16
alertType: "info",
17
17
content: "Properties that are not set will remain unchanged.",
18
18
},
19
-
parent: {
19
+
databaseId: {
20
20
propDefinition: [
21
21
notion,
22
22
"databaseId",
23
23
],
24
-
label: "Parent Database ID",
25
-
description: "Select the database that contains the page to update. If you instead provide a database ID in a custom expression, you will also have to provide the page's ID in a custom expression",
24
+
},
25
+
parent: {
26
+
propDefinition: [
27
+
notion,
28
+
"dataSourceId",
29
+
(c)=>({
30
+
databaseId: c.databaseId,
31
+
}),
32
+
],
33
+
label: "Parent Data Source ID",
34
+
description: "Select the data source that contains the page to update. If you instead provide a data source ID in a custom expression, you will also have to provide the page's ID in a custom expression",
0 commit comments