Skip to content

Commit

Permalink
fix: Just installed mods show in search result
Browse files Browse the repository at this point in the history
  • Loading branch information
ci010 committed Jan 2, 2024
1 parent b37572d commit f7ea124
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion xmcl-keystone-ui/src/composables/useAggregateProjects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@ export function useAggregateProjects<T extends ProjectEntry>(

for (const mod of modrinth.value) visit(mod)
for (const mod of curseforge.value) visit(mod)
for (const mod of cached.value) visit(mod)
for (const mod of cached.value) {
mod.curseforge = undefined
mod.modrinth = undefined
visit(mod)
}

return all
})
Expand Down

0 comments on commit f7ea124

Please sign in to comment.