Skip to content

Commit

Permalink
Additionally allow document verticals to use our formatting code
Browse files Browse the repository at this point in the history
  • Loading branch information
Fondryext committed Aug 7, 2024
1 parent a1530b6 commit 5d16d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/models/result.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export default class Result {
segment: result.segment
};

if (result.source !== 'KNOWLEDGE_MANAGER') {
if (result.source !== 'KNOWLEDGE_MANAGER' && result.source !== 'DOCUMENT_VERTICAL') {
return new Result(resultData);
}

Expand Down

0 comments on commit 5d16d8d

Please sign in to comment.