Merge pull request #15784 from PrestonB1123/yellowStatus

BUGZ-685: StatusIndicator is yellow in specific cases
This commit is contained in:
Zach Fox 2019-06-17 15:29:05 -07:00 committed by GitHub
commit caba398645
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,7 +152,7 @@ function simplifiedStatusIndicator(properties) {
// When avatar goes away, set status to busy
var previousStatus;
var previousStatus = "available";
function onWentAway() {
previousStatus = currentStatus;
if (currentStatus !== "busy") {