2
0

🚑 Fix invalid workspace plan check for support bubble

This commit is contained in:
Baptiste Arnaud
2024-03-04 18:03:29 +01:00
parent 6d8a007f09
commit 8e20d90081

View File

@ -19,7 +19,7 @@ export const SupportBubble = (props: Omit<BubbleProps, 'typebot'>) => {
setLastViewedTypebotId(typebot?.id)
}, [lastViewedTypebotId, typebot?.id])
if (workspace?.plan && workspace.plan !== Plan.FREE) return null
if (!workspace?.plan || workspace.plan === Plan.FREE) return null
return (
<Bubble