fix(directory): fixed incorrect count to new live2ds

This commit is contained in:
Haoyu Xu
2024-08-02 14:51:17 +08:00
parent 304abbbbf1
commit 1ddd740b20

View File

@@ -175,6 +175,9 @@ export default function Home() {
<section className={classes.text}>{officalUpdate.length - operators.length} {i18n("new_op_wait_to_update")}</section> <section className={classes.text}>{officalUpdate.length - operators.length} {i18n("new_op_wait_to_update")}</section>
<section className={`${classes['styled-selection']}`}> <section className={`${classes['styled-selection']}`}>
{officalUpdate[officalUpdate.dates[0]].map((entry, index) => { {officalUpdate[officalUpdate.dates[0]].map((entry, index) => {
if (index >= officalUpdate.length - operators.length) {
return null
}
return ( return (
<Link <Link
reloadDocument reloadDocument