feat: ♿️ Typebot header back to folder if exists
This commit is contained in:
@@ -108,7 +108,11 @@ export const TypebotHeader = () => {
|
||||
as={NextChakraLink}
|
||||
aria-label="Back"
|
||||
icon={<ChevronLeftIcon fontSize={30} />}
|
||||
href="/typebots"
|
||||
href={
|
||||
typebot?.folderId
|
||||
? `/typebots/folders/${typebot.folderId}`
|
||||
: '/typebots'
|
||||
}
|
||||
/>
|
||||
{typebot?.name && (
|
||||
<EditableTypebotName
|
||||
|
||||
Reference in New Issue
Block a user