Skip to content

Commit 5a9009b

Browse files
wuayeeRonnyChan96
authored andcommitted
[elsa] add knowledgeExtensions params of knowledgeRetrievalNode option struct. (#270)
Co-authored-by: RonnyChan <ronny_chan@126.com>
1 parent 16214db commit 5a9009b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

framework/elsa/fit-elsa-react/src/flow/compatibility/compatibilityProcessors.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,10 @@ export const knowledgeRetrievalCompatibilityProcessor = (shapeData, graph, pageH
475475
if (Array.isArray(optionValue) && !optionValue.some(v => v.name === 'extensions')) {
476476
optionValue.push(DEFAULT_KNOWLEDGE_RETRIEVAL_NODE_EXTENSIONS);
477477
}
478+
479+
if (Array.isArray(optionValue) && !optionValue.some(v => v.name === 'extensions')) {
480+
optionValue.push(DEFAULT_KNOWLEDGE_RETRIEVAL_NODE_EXTENSIONS);
481+
}
478482
};
479483

480484
const userIdParamProcess = () => {

0 commit comments

Comments
 (0)