Skip to content

Commit

Permalink
Hide assets and projects as well
Browse files Browse the repository at this point in the history
  • Loading branch information
CommandMC committed Nov 22, 2024
1 parent 7997e03 commit 0ea43e7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/backend/storeManagers/legendary/library.ts
Original file line number Diff line number Diff line change
Expand Up @@ -510,9 +510,12 @@ function loadFile(app_name: string): boolean {
}
const { namespace } = metadata

const ueCategories = ['assets', 'plugins', 'projects']
const isUeTitle =
namespace === 'ue' ||
!!metadata.categories.find((category) => category.path === 'plugins')
!!metadata.categories.find((category) =>
ueCategories.includes(category.path)
)

if (isUeTitle) {
return false
Expand Down

0 comments on commit 0ea43e7

Please sign in to comment.