mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +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) => {
|
||||
if ('albumCount' in data && data.albumCount !== null) {
|
||||
return String(data.albumCount);
|
||||
return i18n.t('entity.albumWithCount', { count: data.albumCount });
|
||||
}
|
||||
return '';
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user