mirror of
https://github.com/domfelipe/mika-agent-assist.git
synced 2026-08-07 09:16:46 +00:00
Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
parent
22166a1c76
commit
a826c00650
1 changed files with 6 additions and 1 deletions
|
|
@ -358,8 +358,13 @@ function WelcomePage() {
|
|||
open={wizardOpen}
|
||||
onOpenChange={(open) => {
|
||||
setWizardOpen(open);
|
||||
// Quando fechar o wizard, leva ao painel
|
||||
if (!open) {
|
||||
// Se o token foi salvo (vault_id presente), considera sucesso
|
||||
if (agent?.telegram_bot_token_vault_id) {
|
||||
toast.success(
|
||||
"Perfeito! Seu agente está sendo ativado. Você receberá uma mensagem no Telegram quando estiver pronto! 🎉",
|
||||
);
|
||||
}
|
||||
navigate({ to: "/painel", search: {} });
|
||||
}
|
||||
}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue