From 554365d64596892b37bb679e239d9ec0f16384ac Mon Sep 17 00:00:00 2001 From: Baptiste Arnaud Date: Fri, 24 Jun 2022 16:44:41 +0200 Subject: [PATCH] =?UTF-8?q?fix(bot):=20=E2=9A=A1=EF=B8=8F=20Better=20incom?= =?UTF-8?q?ing=20variable=20parsing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CollaborationMenuButton.tsx | 7 ++++++- .../shared/TypebotHeader/TypebotHeader.tsx | 2 +- .../playwright/tests/bubbles/embed.spec.ts | 18 +----------------- apps/builder/playwright/tests/settings.spec.ts | 3 +++ .../bot-engine/src/contexts/TypebotContext.tsx | 7 ++++--- 5 files changed, 15 insertions(+), 22 deletions(-) diff --git a/apps/builder/components/shared/TypebotHeader/CollaborationMenuButton/CollaborationMenuButton.tsx b/apps/builder/components/shared/TypebotHeader/CollaborationMenuButton/CollaborationMenuButton.tsx index e3aa8755a..fbfd23fdd 100644 --- a/apps/builder/components/shared/TypebotHeader/CollaborationMenuButton/CollaborationMenuButton.tsx +++ b/apps/builder/components/shared/TypebotHeader/CollaborationMenuButton/CollaborationMenuButton.tsx @@ -9,13 +9,18 @@ import { UsersIcon } from 'assets/icons' import React from 'react' import { CollaborationList } from './CollaborationList' -export const CollaborationMenuButton = () => { +export const CollaborationMenuButton = ({ + isLoading, +}: { + isLoading: boolean +}) => { return ( } aria-label="Show collaboration menu" size="sm" diff --git a/apps/builder/components/shared/TypebotHeader/TypebotHeader.tsx b/apps/builder/components/shared/TypebotHeader/TypebotHeader.tsx index a972301ee..d119e1479 100644 --- a/apps/builder/components/shared/TypebotHeader/TypebotHeader.tsx +++ b/apps/builder/components/shared/TypebotHeader/TypebotHeader.tsx @@ -190,7 +190,7 @@ export const TypebotHeader = () => { - + {router.pathname.includes('/edit') && isNotDefined(rightPanel) && (