Don't say "(Can't be this color)" while loading
This commit is contained in:
parent
4431c43663
commit
082af11b5b
1 changed files with 3 additions and 1 deletions
|
@ -957,7 +957,9 @@ function SpeciesFaceOption({
|
||||||
const cursor = isLoading ? "wait" : isDisabled ? "not-allowed" : "pointer";
|
const cursor = isLoading ? "wait" : isDisabled ? "not-allowed" : "pointer";
|
||||||
|
|
||||||
let disabledExplanation = null;
|
let disabledExplanation = null;
|
||||||
if (!isValid) {
|
if (isLoading) {
|
||||||
|
// If we're still loading, don't try to explain anything yet!
|
||||||
|
} else if (!isValid) {
|
||||||
disabledExplanation = "(Can't be this color)";
|
disabledExplanation = "(Can't be this color)";
|
||||||
} else if (!bodyIsCompatible) {
|
} else if (!bodyIsCompatible) {
|
||||||
disabledExplanation = couldProbablyModelMoreData
|
disabledExplanation = couldProbablyModelMoreData
|
||||||
|
|
Loading…
Reference in a new issue