replace Rating column header with icon instead of text

This commit is contained in:
jeffvli
2026-01-17 13:23:53 -08:00
parent 291daa434c
commit 9bccf7c405
@@ -1198,9 +1198,11 @@ const columnLabelMap: Record<TableColumn, ReactNode | string> = {
<Icon icon="favorite" /> <Icon icon="favorite" />
</Flex> </Flex>
), ),
[TableColumn.USER_RATING]: i18n.t('table.column.rating', { [TableColumn.USER_RATING]: (
postProcess: 'upperCase', <Flex className={styles.headerIconWrapper}>
}) as string, <Icon icon="star" />
</Flex>
),
[TableColumn.YEAR]: i18n.t('table.column.releaseYear', { postProcess: 'upperCase' }) as string, [TableColumn.YEAR]: i18n.t('table.column.releaseYear', { postProcess: 'upperCase' }) as string,
}; };