mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-02-22 02:24:44 +08:00
fix: try to fix year
This commit is contained in:
@@ -96,8 +96,9 @@ export default function VideoCard({
|
||||
aggregateData?.mostFrequentDoubanId ?? douban_id
|
||||
);
|
||||
const actualEpisodes = aggregateData?.mostFrequentEpisodes ?? episodes;
|
||||
const actualYear =
|
||||
(isAggregate ? aggregateData?.first.year : year) || 'unknown';
|
||||
const actualYear = isAggregate
|
||||
? aggregateData?.first.year || 'unknown'
|
||||
: year;
|
||||
const actualQuery = query || '';
|
||||
const actualSearchType = isAggregate
|
||||
? aggregateData?.first.episodes.length === 1
|
||||
|
||||
Reference in New Issue
Block a user