diff options
author | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-09-06 01:32:11 +0530 |
---|---|---|
committer | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-09-06 01:32:11 +0530 |
commit | 79b6a250b6924c66733c14c0b5232df85872c1f2 (patch) | |
tree | 77b5f1ccccaead72e3fe4e9a595a48450bfc83d1 /src/client/views/PropertiesView.tsx | |
parent | 70b0d0b1d5890ca87ab2ccb17ea2814724bcb821 (diff) |
fixes to row drop
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 |