mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
fix missing format on item card album count row
This commit is contained in:
@@ -1105,7 +1105,7 @@ export const getDataRows = (type?: 'compact' | 'default' | 'poster'): DataRow[]
|
|||||||
{
|
{
|
||||||
format: (data) => {
|
format: (data) => {
|
||||||
if ('albumCount' in data && data.albumCount !== null) {
|
if ('albumCount' in data && data.albumCount !== null) {
|
||||||
return String(data.albumCount);
|
return i18n.t('entity.albumWithCount', { count: data.albumCount });
|
||||||
}
|
}
|
||||||
return '';
|
return '';
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user