From 7567210b6e0dce1e5bc79255dc2dd4debe55ed82 Mon Sep 17 00:00:00 2001
From: srichman333 <sarah_n_richman@brown.edu>
Date: Wed, 28 Jun 2023 10:34:28 -0400
Subject: DocumentDecorations layout checkbox only in delevolper mode

---
 src/client/views/DocumentDecorations.tsx | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

(limited to 'src/client/views/DocumentDecorations.tsx')

diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx
index 4da6bd697..d306d3e45 100644
--- a/src/client/views/DocumentDecorations.tsx
+++ b/src/client/views/DocumentDecorations.tsx
@@ -831,12 +831,14 @@ export class DocumentDecorations extends React.Component<{ PanelWidth: number; P
                     &nbsp;
                     {shareSymbolIcon + ' ' + shareMode}
                     &nbsp;
-                    <div className='checkbox'>
-                        <div className='checkbox-box'>
-                            <input type="checkbox" checked={this.showLayoutAcl} onChange={action(() => (this.showLayoutAcl = !this.showLayoutAcl))} /> 
+                    {!Doc.noviceMode ? 
+                        <div className='checkbox'>
+                            <div className='checkbox-box'>
+                                <input type="checkbox" checked={this.showLayoutAcl} onChange={action(() => (this.showLayoutAcl = !this.showLayoutAcl))} /> 
+                            </div>
+                            <div className='checkbox-text'> Layout </div>
                         </div>
-                        <div className='checkbox-text'> Layout </div>
-                    </div>
+                    : null }
                     &nbsp;
                 </div>
             </div>
-- 
cgit v1.2.3-70-g09d2

