fix: various fixes related to content tab on app and panel (#5605)

* fix: content filtering client only

* fix: browse content bug

Fixes #5570

* fix: Applying Mods & Updates filters at the same time doesn't work

Fixes #5602

* fix: Browsing content: going back resets filters and installed state

Fixes #5598

* fix: Mod tile background flickers when toggling enabled/disabled state

Fixes #5600

* fix: Overhaul of "Content" tab on instances broke a lot
Fixes #5567

* fix: Latest App update replacing all mods icons with a datapack/rescourcepack
Fixes #5556

* fix: billing page api-client ditch useBaseFetch

* fix: remove org icon from project card items

* fix: lint
This commit is contained in:
Calum H.
2026-03-17 21:49:46 +00:00
committed by GitHub
parent 7852529915
commit 1cfbefff02
8 changed files with 72 additions and 50 deletions

View File

@@ -872,7 +872,7 @@ provideContentManager({
})
return filteredReasons.length > 0 ? formatMessage(filteredReasons[0].reason) : null
}),
getItemId: (item) => item.file_name,
getItemId: (item) => item.file_path ?? item.file_name,
contentTypeLabel: type,
toggleEnabled: handleToggleEnabled,
deleteItem: handleDeleteItem,
@@ -898,7 +898,7 @@ provideContentManager({
mapToTableItem: (item) => {
const projectType = item.project_type ?? type.value
return {
id: item.file_name,
id: item.file_path ?? item.file_name,
project: item.project,
projectLink: item.project?.id ? `/${projectType}/${item.project.id}` : undefined,
version: item.version,
@@ -912,6 +912,7 @@ provideContentManager({
enabled: item.enabled,
}
},
filterPersistKey: `server:${serverId}:${worldId.value}`,
})
</script>