diff --git a/src/js/Background/Modules/SteamStoreApi.js b/src/js/Background/Modules/SteamStoreApi.js index e3d8df6be..d572394b1 100644 --- a/src/js/Background/Modules/SteamStoreApi.js +++ b/src/js/Background/Modules/SteamStoreApi.js @@ -153,18 +153,18 @@ class SteamStoreApi extends Api { const {rgOwnedApps, rgOwnedPackages, rgIgnoredApps, rgWishlist} = store; const ignored = []; - const ignoredOwnedElsewhere = []; + const ignoredOwned = []; Object.entries(rgIgnoredApps).forEach(([appid, value]) => { if (value === 0) { ignored.push(Number(appid)); } else if (value === 2) { - ignoredOwnedElsewhere.push(Number(appid)); + ignoredOwned.push(Number(appid)); } }); const dynamicStore = { ignored, - ignoredOwnedElsewhere, + ignoredOwned, "ownedApps": rgOwnedApps, "ownedPackages": rgOwnedPackages, "wishlisted": rgWishlist, diff --git a/src/js/Content/Features/Common/FHighlightsTags.js b/src/js/Content/Features/Common/FHighlightsTags.js index 4fdc8425d..76cbb75f8 100644 --- a/src/js/Content/Features/Common/FHighlightsTags.js +++ b/src/js/Content/Features/Common/FHighlightsTags.js @@ -122,7 +122,7 @@ export default class FHighlightsTags extends Feature { operations.push(this.highlightIgnored); } if (opts.ignoredOwned && dsStatus[storeId].ignoredOwned) { - operations.push(this.highlightIgnoredOwnedElsewhere); + operations.push(this.highlightIgnoredOwned); } } @@ -332,7 +332,7 @@ export default class FHighlightsTags extends Feature { this._highlightItem(node, "notinterested"); } - static highlightIgnoredOwnedElsewhere(node) { + static highlightIgnoredOwned(node) { this._highlightItem(node, "ignored_owned"); } diff --git a/src/js/Content/Modules/Data/DynamicStore.js b/src/js/Content/Modules/Data/DynamicStore.js index ae8410ec3..343fc0627 100644 --- a/src/js/Content/Modules/Data/DynamicStore.js +++ b/src/js/Content/Modules/Data/DynamicStore.js @@ -52,7 +52,7 @@ class DynamicStore { const trimmedId = trimmedIds[i]; acc[id] = { "ignored": dsStatus[trimmedId].includes("ignored"), - "ignoredOwned": dsStatus[trimmedId].includes("ignoredOwnedElsewhere"), + "ignoredOwned": dsStatus[trimmedId].includes("ignoredOwned"), "wishlisted": dsStatus[trimmedId].includes("wishlisted"), }; if (id.startsWith("app/")) {