aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm/ImageLabelHandler.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-05-20 13:13:11 -0400
committerbobzel <zzzman@gmail.com>2024-05-20 13:13:11 -0400
commita5aa41e60dc72881e1aa2f14743b9f00c1160eed (patch)
treea2f275118455c1f34b76aeca694325ff2839b3fc /src/client/views/collections/collectionFreeForm/ImageLabelHandler.tsx
parentaab428589c07ef6ecb92d3c2ed7fe5f6e8ff9104 (diff)
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.
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/ImageLabelHandler.tsx')
-rw-r--r--src/client/views/collections/collectionFreeForm/ImageLabelHandler.tsx4
1 files changed, 2 insertions, 2 deletions
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