mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-06 07:58:12 +08:00
Warnings on anno textfields (#1023)
* Warning for creating new label with an existing name * category dup * italics
This commit is contained in:
@@ -5,7 +5,7 @@ const Annotations = (
|
||||
state = {
|
||||
isEditingCategoryName: false,
|
||||
isEditingLabelName: false,
|
||||
categoryBeingEdited: false,
|
||||
categoryBeingEdited: null,
|
||||
categoryAddingNewLabel: null,
|
||||
labelEditable: { category: null, label: null }
|
||||
},
|
||||
@@ -46,7 +46,7 @@ const Annotations = (
|
||||
case "annotation: category edited":
|
||||
return {
|
||||
...state,
|
||||
isEditingCategoryName: true,
|
||||
isEditingCategoryName: false,
|
||||
categoryBeingEdited: null
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user