This commit is contained in:
Timothy J. Baek 2024-10-22 03:40:03 -07:00
parent a89d29db9c
commit a0692a434d

View File

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