feat: auto-load images when ItemForm opens with existing URL
This commit is contained in:
1 parent
039e4d472a
commit
f13c0898d8
1 file changed
+7
@@ -100,6 +100,13 @@
|
||||
onColorChange?.(item.id, color || '');
|
||||
}
|
||||
}
|
||||
|
||||
// Auto-load images when form opens with existing URL
|
||||
$effect(() => {
|
||||
if (linkUrl && linkUrl.startsWith('http')) {
|
||||
scrapeImages(linkUrl);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<Card style={cardStyle} class="relative overflow-hidden">
|
||||
|
||||
Reference in new issue
Block a user