diff --git a/packages/article-extras/__tests__/web/__snapshots__/article-extras.test.js.snap b/packages/article-extras/__tests__/web/__snapshots__/article-extras.test.js.snap index a865225724d..696e7e61c80 100644 --- a/packages/article-extras/__tests__/web/__snapshots__/article-extras.test.js.snap +++ b/packages/article-extras/__tests__/web/__snapshots__/article-extras.test.js.snap @@ -10,9 +10,6 @@ Array [ , -
-
-
, , -
-
-
, , -
-
-
, -`; +`; \ No newline at end of file diff --git a/packages/card/__tests__/web/__snapshots__/card.web.test.js.snap b/packages/card/__tests__/web/__snapshots__/card.web.test.js.snap index 8d40791e3a4..a8f6eec76f8 100644 --- a/packages/card/__tests__/web/__snapshots__/card.web.test.js.snap +++ b/packages/card/__tests__/web/__snapshots__/card.web.test.js.snap @@ -1781,4 +1781,4 @@ exports[`15. card should re-render when loading state changes 2`] = `
-`; +`; \ No newline at end of file diff --git a/packages/ssr/src/client/article.js b/packages/ssr/src/client/article.js index ed23987abd0..71df9a94a41 100644 --- a/packages/ssr/src/client/article.js +++ b/packages/ssr/src/client/article.js @@ -20,7 +20,8 @@ if (window.nuk && window.nuk.ssr && window.nuk.article) { commentingFlag = true, showAudioPlayer, storefrontConfig, - isEntitlementFeatureEnabled + isEntitlementFeatureEnabled, + isSharingSavingEntitlementEnabled } = window.nuk.article; const { getCookieValue } = window.nuk; @@ -43,7 +44,8 @@ if (window.nuk && window.nuk.ssr && window.nuk.article) { commentingFlag, showAudioPlayer, storefrontConfig, - isEntitlementFeatureEnabled + isEntitlementFeatureEnabled, + isSharingSavingEntitlementEnabled }; const clientOptions = { diff --git a/packages/ssr/src/component/article.js b/packages/ssr/src/component/article.js index afa2d9ecbdc..894a3759765 100644 --- a/packages/ssr/src/component/article.js +++ b/packages/ssr/src/component/article.js @@ -37,7 +37,8 @@ module.exports = (client, analyticsStream, data, helmetContext) => { commentingFlag, showAudioPlayer, storefrontConfig, - isEntitlementFeatureEnabled + isEntitlementFeatureEnabled, + isSharingSavingEntitlementEnabled } = data; return React.createElement( @@ -88,6 +89,7 @@ module.exports = (client, analyticsStream, data, helmetContext) => { isSharingEnabled: sharingSavingFlag, isCommentEnabled: commentingFlag, isEntitlementFeatureEnabled, + isSharingSavingEntitlementEnabled, isPreview }, error, diff --git a/packages/ssr/src/server/article.js b/packages/ssr/src/server/article.js index 232bc1ea74c..5a7ac2885a8 100644 --- a/packages/ssr/src/server/article.js +++ b/packages/ssr/src/server/article.js @@ -29,7 +29,8 @@ module.exports = ( commentingFlag = true, showAudioPlayer, storefrontConfig, - isEntitlementFeatureEnabled = false + isEntitlementFeatureEnabled = false, + isSharingSavingEntitlementEnabled = false }, userState ) => { @@ -86,7 +87,8 @@ module.exports = ( commentingFlag, showAudioPlayer, storefrontConfig, - isEntitlementFeatureEnabled + isEntitlementFeatureEnabled, + isSharingSavingEntitlementEnabled }, name: "article" };