Skip to content

Commit

Permalink
dynamic: revert to showing 1 match per rule
Browse files Browse the repository at this point in the history
  • Loading branch information
fariss committed Aug 1, 2024
1 parent 33be4d1 commit 4137923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui/src/utils/rdocParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @param {number} [maxMatches=500] - Maximum number of matches to parse per rule
* @returns {Array} - Parsed tree data for the TreeTable component
*/
export function parseRules(rules, flavor, layout, maxMatches = 20) {
export function parseRules(rules, flavor, layout, maxMatches = 1) {
return Object.entries(rules).map(([ruleName, rule], index) => {
const ruleNode = {
key: `${index}`,
Expand Down

0 comments on commit 4137923

Please sign in to comment.