mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 17:15:48 +00:00
fix: normalize catalog name casing for add-on filter translation key
This commit is contained in:
parent
6bd28847f2
commit
ce2c021e5f
1 changed files with 1 additions and 1 deletions
|
|
@ -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) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue