mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
cosmetics
This commit is contained in:
@@ -173,7 +173,7 @@ export default function RightSideComponent({
|
||||
>
|
||||
{category.length > 1 && catIndex < 0 ? (
|
||||
<MenuItem key={category} value={category}>
|
||||
{t(category)}
|
||||
{category}
|
||||
</MenuItem>
|
||||
) : (
|
||||
''
|
||||
|
||||
@@ -140,7 +140,7 @@ export const CategoryWidget = ({ data }) => {
|
||||
return (
|
||||
<StatisticsField
|
||||
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}
|
||||
valueBg={valueBGColor}
|
||||
icon={CategoryIcon}
|
||||
|
||||
Reference in New Issue
Block a user