From b0cc595434c0ee502cb3e6d79e04ecd16838874d Mon Sep 17 00:00:00 2001 From: Adam Gough <77861281+aadamgough@users.noreply.github.com> Date: Thu, 5 Jun 2025 13:03:49 -0700 Subject: [PATCH] fix(gcal): fixed bug that pulled google calendar info fix(gcal): fixed bug that pulled google calendar info --- .../sub-block/components/file-selector/file-selector-input.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/sim/app/w/[id]/components/workflow-block/components/sub-block/components/file-selector/file-selector-input.tsx b/apps/sim/app/w/[id]/components/workflow-block/components/sub-block/components/file-selector/file-selector-input.tsx index 49683028a9..44aee048e1 100644 --- a/apps/sim/app/w/[id]/components/workflow-block/components/sub-block/components/file-selector/file-selector-input.tsx +++ b/apps/sim/app/w/[id]/components/workflow-block/components/sub-block/components/file-selector/file-selector-input.tsx @@ -56,7 +56,7 @@ export function FileSelectorInput({ const isDiscord = provider === 'discord' const isMicrosoftTeams = provider === 'microsoft-teams' const isMicrosoftExcel = provider === 'microsoft-excel' - const isGoogleCalendar = subBlock.provider || 'google-calendar' + const isGoogleCalendar = subBlock.provider === 'google-calendar' // For Confluence and Jira, we need the domain and credentials const domain = isConfluence || isJira ? (getValue(blockId, 'domain') as string) || '' : '' // For Discord, we need the bot token and server ID