@speakableio/core 1.0.30 → 1.0.31
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.native.js
CHANGED
|
@@ -2202,7 +2202,7 @@ function getPageMediaData(page) {
|
|
|
2202
2202
|
const { isMediaPage } = checkTypePageActivity(page.type);
|
|
2203
2203
|
const mode = (_b = page.media_mode) != null ? _b : page.media_area_id ? "media_area" : null;
|
|
2204
2204
|
const singleMedia = getSingleMediaPageData(page);
|
|
2205
|
-
const hasMediaData = isMediaPage
|
|
2205
|
+
const hasMediaData = isMediaPage || singleMedia !== void 0;
|
|
2206
2206
|
return {
|
|
2207
2207
|
direction,
|
|
2208
2208
|
mode,
|