update serie icons

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-05-19 22:41:30 +02:00
parent 2882498568
commit 43f9cf08b5
3 changed files with 25 additions and 3 deletions

View File

@@ -38,9 +38,10 @@ export function getReferrerWithQuery(
return null;
}
const match = Object.values(referrers).find(
(referrer) => referrer.name.toLowerCase() === source.toLowerCase()
);
const match =
Object.values(referrers).find(
(referrer) => referrer.name.toLowerCase() === source.toLowerCase()
) || referrers[source];
if (match) {
return {