Skip to content

Commit

Permalink
[Fix] Epic: Hide UE-related items from the user's library (#4133)
Browse files Browse the repository at this point in the history
Hide UE-related items from the user's library
  • Loading branch information
CommandMC authored Nov 25, 2024
1 parent 9d4f6ff commit 15b25e2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/backend/storeManagers/legendary/library.ts
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,14 @@ function loadFile(app_name: string): boolean {
}
const { namespace } = metadata

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

if (isUeTitle) {
return false
}

Expand Down

0 comments on commit 15b25e2

Please sign in to comment.