aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/SharingManager.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-08-19 18:42:46 -0400
committerbobzel <zzzman@gmail.com>2021-08-19 18:42:46 -0400
commit3051d9a16dff8efbf4d32465812093cae7508c74 (patch)
tree4e12a41f5374d984f03deeb2a3740c30d0d8baf9 /src/client/util/SharingManager.tsx
parent7cc9c998a904c8741dd57663c83f5ae64621ad44 (diff)
fixed errors and warnings
Diffstat (limited to 'src/client/util/SharingManager.tsx')
-rw-r--r--src/client/util/SharingManager.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/SharingManager.tsx b/src/client/util/SharingManager.tsx
index 6c4556250..6d7f7e8df 100644
--- a/src/client/util/SharingManager.tsx
+++ b/src/client/util/SharingManager.tsx
@@ -513,7 +513,7 @@ export class SharingManager extends React.Component<{}> {
if (this.myDocAcls) {
const newDocs: Doc[] = [];
- SearchBox.foreachRecursiveDoc(docs, doc => newDocs.push(doc));
+ SearchBox.foreachRecursiveDoc(docs, (depth, doc) => newDocs.push(doc));
docs = newDocs.filter(doc => GetEffectiveAcl(doc) === AclAdmin);
}