fix(ui): rebase conflict

This commit is contained in:
psychedelicious 2024-05-18 17:37:28 +10:00
parent 9d127fee6b
commit 468644ab18

View File

@ -255,6 +255,7 @@ export const makeConnectionErrorSelector = (
if (targetTemplate.inputs[targetFieldName]?.input === 'direct') {
return i18n.t('nodes.cannotConnectToDirectInput');
}
if (targetNode.data.type === 'collect' && targetFieldName === 'item') {
// Collect nodes shouldn't mix and match field types
const collectItemType = getCollectItemType(templates, nodes, edges, targetNode.id);