mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-07-18 13:40:16 -04:00
fix: prevent empty bulk add from clearing import URLs (#7820)
Co-authored-by: zhangjian45 <zhangjian45@lenovo.com>
This commit is contained in:
@@ -223,6 +223,10 @@ async function deleteReport(id: string) {
|
||||
fetchReports();
|
||||
|
||||
function assignUrls(urls: string[]) {
|
||||
if (urls.length === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
bulkUrls.value = urls.map(url => ({ url, categories: [], tags: [] }));
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user