don't overwrite name, keep url separate

This commit is contained in:
Michael Möbius authored and GitHub committed 2024-10-22 06:32:08 +02:00
1 parent ae44445464
commit 41bd16acbe
1 file changed
+1 -1
@@ -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);