diff options
author | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-09-23 20:55:02 +0530 |
---|---|---|
committer | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-09-23 20:55:02 +0530 |
commit | 3432a0696d0d1fe42e00c9cf97a96368442a9faf (patch) | |
tree | 107150444a8d73e363d76581fd7060d0b568721a /src/client/util/SharingManager.tsx | |
parent | 582601c29098e509b9d6c76e0f303a0fb40b22f9 (diff) | |
parent | a4085fdcd9841a30dbc08a04a3bf6cd208e246f0 (diff) |
merge conflict
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 dd9280670..886a63525 100644 --- a/src/client/util/SharingManager.tsx +++ b/src/client/util/SharingManager.tsx @@ -583,9 +583,10 @@ export class SharingManager extends React.Component<{}> { <div className="myDocs-acls"> <input type="checkbox" onChange={action(() => this.myDocAcls = !this.myDocAcls)} checked={this.myDocAcls} /> <label>My Docs</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"> |