mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-28 11:18:11 +08:00
Improve label picking (#1179)
* add simple error message helper * port all label name pickers to use the new LabelInput component * use pure components where possible * cleanup * more cleanup * lint * change new label prompt
This commit is contained in:
@@ -74,7 +74,7 @@ class FilenameDialog extends React.Component {
|
||||
color: Colors.ORANGE3
|
||||
}}
|
||||
>
|
||||
{"Name cannot be blank"}
|
||||
Name cannot be blank
|
||||
</span>
|
||||
);
|
||||
} else if (err === "characters") {
|
||||
@@ -87,7 +87,7 @@ class FilenameDialog extends React.Component {
|
||||
color: Colors.ORANGE3
|
||||
}}
|
||||
>
|
||||
{"Only alphanumeric and underscore allowed"}
|
||||
Only alphanumeric and underscore allowed
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user