mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 16:46:31 +00:00
Fix apps from wrong PC being displayed in app grid
This commit is contained in:
parent
634fe252d6
commit
25c8ab47a3
@ -403,11 +403,12 @@ function showApps(host) {
|
|||||||
$('#naclSpinner').css('display', 'inline-block');
|
$('#naclSpinner').css('display', 'inline-block');
|
||||||
|
|
||||||
host.getAppList().then(function (appList) {
|
host.getAppList().then(function (appList) {
|
||||||
$('#naclSpinner').hide();
|
// if game grid is populated, empty it
|
||||||
|
$("div.game-container").remove();
|
||||||
|
|
||||||
|
$('#naclSpinner').hide();
|
||||||
$("#game-grid").show();
|
$("#game-grid").show();
|
||||||
|
|
||||||
// if game grid is populated, empty it
|
|
||||||
appList.forEach(function (app) {
|
appList.forEach(function (app) {
|
||||||
host.getBoxArt(app.id).then(function (resolvedPromise) {
|
host.getBoxArt(app.id).then(function (resolvedPromise) {
|
||||||
// put the box art into the image holder
|
// put the box art into the image holder
|
||||||
|
Loading…
x
Reference in New Issue
Block a user