fix: normalize catalog name casing for add-on filter translation key

This commit is contained in:
Fawazorg 2026-02-08 20:54:35 +03:00
parent 6bd28847f2
commit ce2c021e5f

View file

@ -18,7 +18,7 @@ const mapSelectableInputs = (installedAddons, remoteAddons, t) => {
() => { () => {
const selectableCatalog = remoteAddons.selectable.catalogs const selectableCatalog = remoteAddons.selectable.catalogs
.find(({ id }) => id === remoteAddons.selected.request.path.id); .find(({ id }) => id === remoteAddons.selected.request.path.id);
return selectableCatalog ? t.stringWithPrefix(selectableCatalog.name, 'ADDON_') : remoteAddons.selected.request.path.id; return selectableCatalog ? t.stringWithPrefix(selectableCatalog.name.toUpperCase(), 'ADDON_') : remoteAddons.selected.request.path.id;
} }
: null, : null,
onSelect: (value) => { onSelect: (value) => {