Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mbf-site/src/ModsRepo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export interface ModRepoMod {
id: string,
version: string,
download: string,
isLibrary: boolean,
source: string,
author: string,
cover: string | null,
Expand Down
2 changes: 1 addition & 1 deletion mbf-site/src/components/ModRepoBrowser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function prepareModRepoForDisplay(mods: ModRepoMod[],
&& !existingInstall.is_core,
mod: mod
};
}).filter(mod => mod.needUpdate || (!mod.alreadyInstalled && !mod.mod.global)) // Skip any mods that are already installed and up to date, or global mods
}).filter(mod => mod.needUpdate || (!mod.alreadyInstalled && !mod.mod.global && !mod.mod.isLibrary)) // Skip any mods that are already installed and up to date, or global mods, or library mods
.sort((a, b) => {
// Show mods that need an update first in the list
if(!a.needUpdate && b.needUpdate) {
Expand Down