feat(ideas): stuur activeProductId mee bij snel idee aanmaken

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Scrum4Me Agent 2026-05-15 04:40:07 +02:00
parent 0a06b1dc74
commit e6c1b13f46

View file

@ -250,7 +250,7 @@ export function IdeaList({ ideas, products, isDemo, activeProductId }: IdeaListP
return
}
startTransition(async () => {
const r = await createIdeaAction({ title, description: quickDescription.trim() || null, product_id: null })
const r = await createIdeaAction({ title, description: quickDescription.trim() || null, product_id: activeProductId })
if ('error' in r) {
toast.error(r.error)
return