Skip to content

Commit

Permalink
dynamic: only show first 20 matches per rule
Browse files Browse the repository at this point in the history
  • Loading branch information
fariss committed Aug 1, 2024
1 parent 8e9eadf commit 33be4d1
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 = 1) {
export function parseRules(rules, flavor, layout, maxMatches = 20) {
return Object.entries(rules).map(([ruleName, rule], index) => {
const ruleNode = {
key: `${index}`,
Expand Down

0 comments on commit 33be4d1

Please sign in to comment.