feat: auto-load images when ItemForm opens with existing URL
This commit is contained in:
@@ -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