aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/PropertiesView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-09-06 16:48:47 -0400
committerbobzel <zzzman@gmail.com>2020-09-06 16:48:47 -0400
commit4e8ec2995a0161656ed2b3c61219e895f1166522 (patch)
treefa4ccbd1afb0704cca338381a1a1344322dc9664 /src/client/views/PropertiesView.tsx
parent47e4998172b5f33d053da8855030fc8157dcdf21 (diff)
parent98b4c7b3269f61c65c561709c432fcd2078f82f0 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/views/PropertiesView.tsx')
-rw-r--r--src/client/views/PropertiesView.tsx10
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