From 3f0567c59f8f29bd7090b7d9d0cf6a6362d3edc9 Mon Sep 17 00:00:00 2001 From: Colin Megill Date: Thu, 31 Oct 2019 13:46:59 -0400 Subject: [PATCH] disable editing if already editing (#999) --- client/src/components/categorical/category.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/components/categorical/category.js b/client/src/components/categorical/category.js index 0a80f13a..2232b4e7 100644 --- a/client/src/components/categorical/category.js +++ b/client/src/components/categorical/category.js @@ -102,6 +102,7 @@ class Category extends React.Component { activateEditCategoryMode = () => { const { dispatch, metadataField } = this.props; + dispatch({ type: "annotation: activate category edit mode", data: metadataField @@ -378,6 +379,7 @@ class Category extends React.Component { />