aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/plugins/store.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src-vue/src/plugins/store.ts')
-rw-r--r--src-vue/src/plugins/store.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src-vue/src/plugins/store.ts b/src-vue/src/plugins/store.ts
index e2246c44..3d55d2a4 100644
--- a/src-vue/src/plugins/store.ts
+++ b/src-vue/src/plugins/store.ts
@@ -229,7 +229,9 @@ export const store = createStore<FlightCoreStore>({
// Remove some mods from listing
const removedMods = ['Northstar', 'NorthstarReleaseCandidate', 'r2modman'];
- state.thunderstoreMods = mods.filter((mod: ThunderstoreMod) => !removedMods.includes(mod.name));
+ state.thunderstoreMods = mods.filter((mod: ThunderstoreMod) => {
+ return !removedMods.includes(mod.name) && !mod.is_deprecated;
+ });
},
async loadInstalledMods(state: FlightCoreStore) {
let game_install = {