feat(ideas): stuur activeProductId mee bij snel idee aanmaken
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0a06b1dc74
commit
e6c1b13f46
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue