From a5aa41e60dc72881e1aa2f14743b9f00c1160eed Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Mon, 20 May 2024 13:13:11 -0400
Subject: fixed pivotView to provide a white background to docs with no
 background so that images will show up, and so text doesn't blend in to
 column.  changed image labeling to show a pivot view and assigne metadata
 instead of creating collections.

---
 src/client/views/collections/collectionFreeForm/ImageLabelHandler.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/client/views/collections/collectionFreeForm/ImageLabelHandler.tsx')

diff --git a/src/client/views/collections/collectionFreeForm/ImageLabelHandler.tsx b/src/client/views/collections/collectionFreeForm/ImageLabelHandler.tsx
index 46bc3d946..7f27c6b5c 100644
--- a/src/client/views/collections/collectionFreeForm/ImageLabelHandler.tsx
+++ b/src/client/views/collections/collectionFreeForm/ImageLabelHandler.tsx
@@ -52,8 +52,8 @@ export class ImageLabelHandler extends ObservableReactComponent<{}> {
 
     @action
     removeLabel = (label: string) => {
-        label = label.toUpperCase();
-        this._labelGroups = this._labelGroups.filter(group => group !== label);
+        const labelUp = label.toUpperCase();
+        this._labelGroups = this._labelGroups.filter(group => group !== labelUp);
     };
 
     @action
-- 
cgit v1.2.3-70-g09d2

