@supernova-studio/client 1.1.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8849,7 +8849,7 @@ function computeDocsHierarchy(input, options = {}) {
|
|
|
8849
8849
|
const includeDeletedContent = _nullishCoalesce(options.includeDeletedContent, () => ( false));
|
|
8850
8850
|
const debug = _nullishCoalesce(options.debug, () => ( false));
|
|
8851
8851
|
const { pages, groups, pageSnapshots, groupSnapshots, settings, pageContentHashes, approvals, pageLiveblockRoomIds } = input;
|
|
8852
|
-
if (includeDeletedContent) {
|
|
8852
|
+
if (settings.isDraftFeatureAdopted && includeDeletedContent) {
|
|
8853
8853
|
pages.push(...getDeletedPages(pages, pageSnapshots));
|
|
8854
8854
|
groups.push(...getDeletedGroups(groups, groupSnapshots));
|
|
8855
8855
|
}
|