From b4958eac84339dd7a88c964a9c52e89481048f55 Mon Sep 17 00:00:00 2001 From: Bob Zeleznik Date: Thu, 2 Apr 2020 19:39:03 -0400 Subject: supported uploads of images ending with .webp --- src/client/views/collections/CollectionView.tsx | 6 +++--- src/client/views/nodes/ImageBox.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/client/views/collections/CollectionView.tsx b/src/client/views/collections/CollectionView.tsx index b6ce2f3a9..df1770ffe 100644 --- a/src/client/views/collections/CollectionView.tsx +++ b/src/client/views/collections/CollectionView.tsx @@ -429,9 +429,9 @@ export class CollectionView extends Touchable { Document={facetCollection} backgroundColor={this.filterBackground} fieldKey={`${this.props.fieldKey}-filter`} - moveDocument={(doc: Doc) => false} - removeDocument={(doc: Doc) => false} - addDocument={(doc: Doc) => false} /> + moveDocument={returnFalse} + removeDocument={returnFalse} + addDocument={returnFalse} /> ; } diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx index e710b3075..00057055f 100644 --- a/src/client/views/nodes/ImageBox.tsx +++ b/src/client/views/nodes/ImageBox.tsx @@ -225,7 +225,7 @@ export class ImageBox extends DocAnnotatableComponent