mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
cosmetics
This commit is contained in:
@@ -173,7 +173,7 @@ export default function RightSideComponent({
|
|||||||
>
|
>
|
||||||
{category.length > 1 && catIndex < 0 ? (
|
{category.length > 1 && catIndex < 0 ? (
|
||||||
<MenuItem key={category} value={category}>
|
<MenuItem key={category} value={category}>
|
||||||
{t(category)}
|
{category}
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
) : (
|
) : (
|
||||||
''
|
''
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ export const CategoryWidget = ({ data }) => {
|
|||||||
return (
|
return (
|
||||||
<StatisticsField
|
<StatisticsField
|
||||||
title={t('Category')}
|
title={t('Category')}
|
||||||
value={catIndex >= 0 ? t(catArray.name) : data}
|
value={catIndex >= 0 ? t(catArray.name) : data.length > 1 ? data.charAt(0).toUpperCase() + data.slice(1) : data}
|
||||||
iconBg={iconBGColor}
|
iconBg={iconBGColor}
|
||||||
valueBg={valueBGColor}
|
valueBg={valueBGColor}
|
||||||
icon={CategoryIcon}
|
icon={CategoryIcon}
|
||||||
|
|||||||
Reference in New Issue
Block a user