Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions apps/sim/hooks/selectors/resolution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,16 @@ function resolveFileSelector(
}
case 'sharepoint':
return { key: 'sharepoint.sites', context, allowSearch: true }
case 'webflow':
if (subBlock.id === 'collectionId') {
case 'webflow': {
const paramId = subBlock.canonicalParamId ?? subBlock.id
if (paramId === 'collectionId') {
return { key: 'webflow.collections', context, allowSearch: false }
}
if (subBlock.id === 'itemId') {
if (paramId === 'itemId') {
return { key: 'webflow.items', context, allowSearch: true }
}
return { key: null, context, allowSearch: true }
}
default:
return { key: null, context, allowSearch: true }
}
Expand Down
Loading