fix(gcal): fixed bug that pulled google calendar info

fix(gcal): fixed bug that pulled google calendar info
This commit is contained in:
Adam Gough
2025-06-05 13:03:49 -07:00
committed by GitHub
parent 7bc61702ec
commit b0cc595434

View File

@@ -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