[BugFix] Persist Job Restrictions When New User Late Joins (#26498)
* make sure to keep late join button disabled if requirements not met * more succinct representation of condition
This commit is contained in:
@@ -309,7 +309,7 @@ namespace Content.Client.LateJoin
|
|||||||
if (matchingJobButton.Amount != updatedJobValue)
|
if (matchingJobButton.Amount != updatedJobValue)
|
||||||
{
|
{
|
||||||
matchingJobButton.RefreshLabel(updatedJobValue);
|
matchingJobButton.RefreshLabel(updatedJobValue);
|
||||||
matchingJobButton.Disabled = matchingJobButton.Amount == 0;
|
matchingJobButton.Disabled |= matchingJobButton.Amount == 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user