don't overwrite name, keep url separate

This commit is contained in:
Michael Möbius 2024-10-22 06:32:08 +02:00 committed by GitHub
parent ae44445464
commit 41bd16acbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,7 +54,7 @@
}
if (id.startsWith('http://') || id.startsWith('https://')) {
source = { name: id };
source = { ..source, url: id };
}
const existingSource = acc.find((item) => item.id === id);