From 3e7acc377ebcb3768a0741b6cca21c5800d5618a Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 22 Feb 2020 17:19:16 -0800 Subject: [PATCH] fix: Rich embeds should work on public share links closes #1182 --- app/scenes/Document/components/Document.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/scenes/Document/components/Document.js b/app/scenes/Document/components/Document.js index b9b9f6cc2..e90b86af6 100644 --- a/app/scenes/Document/components/Document.js +++ b/app/scenes/Document/components/Document.js @@ -222,7 +222,7 @@ class DocumentScene extends React.Component { return ; } - const embedsDisabled = team && !team.documentEmbeds; + const disableEmbeds = team && team.documentEmbeds === false; return ( @@ -297,10 +297,10 @@ class DocumentScene extends React.Component { )}