Skip to content

Commit

Permalink
explicitly set pageWorkspace to undefined for non-workspace pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ButteryCrumpet committed May 16, 2022
1 parent 8920d35 commit 57df7c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cloud/api/pages/teams/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export async function getResourceShowPageData({
type: 'doc',
docs: [doc],
pageDoc: { ...doc, collaborationToken: token },
pageWorkspace: undefined,
contributors,
}
}
Expand All @@ -96,6 +97,7 @@ export async function getResourceShowPageData({
pageFolder: folder,
docs,
views,
pageWorkspace: undefined,
}
}

Expand Down

0 comments on commit 57df7c6

Please sign in to comment.