From 195ffb79c013225cf65e8b89b1f2be0b34adb2f6 Mon Sep 17 00:00:00 2001 From: Factiven Date: Wed, 13 Sep 2023 18:24:50 +0700 Subject: Update v4.0.1 - Merge pre-push to main (#73) * Create build-test.yml * initial v4 commit * update: github workflow * update: push on branch * Update .github/ISSUE_TEMPLATE/bug_report.md * configuring next.config.js file * Update v4.0.1 --- pages/en/anime/recently-watched.js | 4 +++- pages/en/index.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'pages') diff --git a/pages/en/anime/recently-watched.js b/pages/en/anime/recently-watched.js index 9d3b6cf..0b7a710 100644 --- a/pages/en/anime/recently-watched.js +++ b/pages/en/anime/recently-watched.js @@ -164,13 +164,15 @@ export default function PopularAnime({ sessions }) {
{data - ?.filter((i) => i.title !== null) + ?.filter((i) => i?.watchId) .map((i) => { const time = i.timeWatched; const duration = i.duration; let prog = (time / duration) * 100; if (prog > 90) prog = 100; + console.log({ i }); + return (
- {user?.length > 0 && ( + {user?.length > 0 && user?.some((i) => i?.watchId) && (