diff options
author | bobzel <zzzman@gmail.com> | 2020-09-06 09:24:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-06 09:24:50 -0400 |
commit | 98b4c7b3269f61c65c561709c432fcd2078f82f0 (patch) | |
tree | cf5f3fa3c458935dffecb96ee678962b1b6ab5c5 /src/client/views/PropertiesView.tsx | |
parent | 2ef7900d1210bc0e5261e1d1f8fd1ba5f3a0ee4c (diff) | |
parent | 41c890ed4ffadc8fd6734052b8aa5accb463cd7f (diff) |
Merge pull request #681 from browngraphicslab/acls_uv
Some small changes
Diffstat (limited to 'src/client/views/PropertiesView.tsx')
-rw-r--r-- | src/client/views/PropertiesView.tsx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/client/views/PropertiesView.tsx b/src/client/views/PropertiesView.tsx index 46f38795c..041eec2b4 100644 --- a/src/client/views/PropertiesView.tsx +++ b/src/client/views/PropertiesView.tsx @@ -387,7 +387,7 @@ export class PropertiesView extends React.Component<PropertiesViewProps> { } /** - * @returns the sharing and permissiosn panel. + * @returns the sharing and permissions panel. */ @computed get sharingTable() { const AclMap = new Map<symbol, string>([ @@ -907,6 +907,14 @@ export class PropertiesView extends React.Component<PropertiesViewProps> { </div> {!this.openSharing ? (null) : <div className="propertiesView-sharing-content"> + {!novice ? (<div className="propertiesView-acls-checkbox"> + <Checkbox + color="primary" + onChange={action(() => this.layoutDocAcls = !this.layoutDocAcls)} + checked={this.layoutDocAcls} + />; + <div className="propertiesView-acls-checkbox-text">Layout</div> + </div>) : (null)} {this.sharingTable} {/* <div className="change-buttons"> <button |