diff options
author | bobzel <zzzman@gmail.com> | 2020-09-23 10:21:33 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-09-23 10:21:33 -0400 |
commit | a4085fdcd9841a30dbc08a04a3bf6cd208e246f0 (patch) | |
tree | e2b3774424200564e3c091ed78d1275dc52c1bac /src/client/util/SharingManager.tsx | |
parent | e50260d9e262675039f2c8b1541536a37ffea1ea (diff) |
moved Layout checkbox to developer mode.
Diffstat (limited to 'src/client/util/SharingManager.tsx')
-rw-r--r-- | src/client/util/SharingManager.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/client/util/SharingManager.tsx b/src/client/util/SharingManager.tsx index a53ef3cde..169a1e5a4 100644 --- a/src/client/util/SharingManager.tsx +++ b/src/client/util/SharingManager.tsx @@ -572,9 +572,10 @@ export class SharingManager extends React.Component<{}> { <input type="checkbox" onChange={action(() => this.showUserOptions = !this.showUserOptions)} /> <label style={{ marginRight: 10 }}>Individuals</label> <input type="checkbox" onChange={action(() => this.showGroupOptions = !this.showGroupOptions)} /> <label>Groups</label> </div> - <div className="layoutDoc-acls"> - <input type="checkbox" onChange={action(() => this.layoutDocAcls = !this.layoutDocAcls)} checked={this.layoutDocAcls} /> <label>Layout</label> - </div> + {Doc.UserDoc().noviceMode ? (null) : + <div className="layoutDoc-acls"> + <input type="checkbox" onChange={action(() => this.layoutDocAcls = !this.layoutDocAcls)} checked={this.layoutDocAcls} /> <label>Layout</label> + </div>} </div> } <div className="main-container"> |