feat(editor): ♿️ Improve graph navigation setting
This commit is contained in:
@ -55,7 +55,12 @@ export const CreateNewTypebotButtons = () => {
|
||||
if (data)
|
||||
router.push({
|
||||
pathname: `/typebots/${data.id}/edit`,
|
||||
query: { isFirstBot: router.query.isFirstBot },
|
||||
query:
|
||||
router.query.isFirstBot === 'true'
|
||||
? {
|
||||
isFirstBot: 'true',
|
||||
}
|
||||
: {},
|
||||
})
|
||||
setIsLoading(false)
|
||||
}
|
||||
|
Reference in New Issue
Block a user