fix: agent notifications pointaient vers / au lieu de /home?openNote=
La landing page est sur /, l'app sur /home. Correction: actionUrl = /home?openNote=noteId Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -1846,7 +1846,7 @@ export async function executeAgent(agentId: string, userId: string, promptOverri
|
|||||||
type: isSlides ? 'agent_slides_ready' : isCanvas ? 'agent_canvas_ready' : 'agent_success',
|
type: isSlides ? 'agent_slides_ready' : isCanvas ? 'agent_canvas_ready' : 'agent_success',
|
||||||
title: agent.name,
|
title: agent.name,
|
||||||
message,
|
message,
|
||||||
actionUrl: isCanvas ? `/lab?id=${result.canvasId}` : result.noteId ? `/?openNote=${result.noteId}` : '/agents',
|
actionUrl: isCanvas ? `/lab?id=${result.canvasId}` : result.noteId ? `/home?openNote=${result.noteId}` : '/agents',
|
||||||
relatedId: resultId || agentId,
|
relatedId: resultId || agentId,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user