Merge pull request #15629 from zfox23/BUGZ-344

Fix BUGZ-344: Avatar Menu says "You have not created any avatars" but I have
This commit is contained in:
Zach Fox 2019-05-24 12:25:16 -07:00 committed by GitHub
commit 26fd5f4302
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,7 +76,7 @@ Rectangle {
if (result.status !== "success") {
errorText.text = "There was a problem while retrieving your inventory. " +
"Please try closing and re-opening the Avatar app.\n\nInventory status: " + result.status + "\nMessage: " + result.message;
} else if (result.data && result.data.assets && result.data.assets.length === 0) {
} else if (result.data && result.data.assets && result.data.assets.length === 0 && avatarAppInventoryModel.count === 0) {
errorText.text = "You have not created any avatars yet! Create an avatar with the Avatar Creator, then close and re-open the Avatar App."
}