Fix apps from wrong PC being displayed in app grid

This commit is contained in:
Cameron Gutman 2017-05-07 16:09:01 -07:00
parent 634fe252d6
commit 25c8ab47a3

View File

@ -403,11 +403,12 @@ function showApps(host) {
$('#naclSpinner').css('display', 'inline-block');
host.getAppList().then(function (appList) {
$('#naclSpinner').hide();
// if game grid is populated, empty it
$("div.game-container").remove();
$('#naclSpinner').hide();
$("#game-grid").show();
// if game grid is populated, empty it
appList.forEach(function (app) {
host.getBoxArt(app.id).then(function (resolvedPromise) {
// put the box art into the image holder