From 23c4f10e0bc3d7ec94a5c74df597cdddb23d1413 Mon Sep 17 00:00:00 2001
From: usodhi <61431818+usodhi@users.noreply.github.com>
Date: Thu, 1 Oct 2020 01:47:34 +0530
Subject: added acl refresh ish button to panel and sharing menu

---
 src/client/views/PropertiesView.tsx | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

(limited to 'src/client/views/PropertiesView.tsx')

diff --git a/src/client/views/PropertiesView.tsx b/src/client/views/PropertiesView.tsx
index 5877c1d6d..5cab7726e 100644
--- a/src/client/views/PropertiesView.tsx
+++ b/src/client/views/PropertiesView.tsx
@@ -901,14 +901,19 @@ 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)}
+                                <div className="propertiesView-buttonContainer">
+                                    {!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)}
+                                    <button onPointerDown={() => SharingManager.Instance.distributeOverCollection(this.selectedDoc!)}>
+                                        <FontAwesomeIcon icon="redo-alt" color="white" size="1x" />
+                                    </button>
+                                </div>
                                 {this.sharingTable}
                             </div>}
                     </div>
-- 
cgit v1.2.3-70-g09d2

