diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2025-03-28 07:59:46 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2025-03-28 07:59:46 +0300 |
| commit | 8986a3e7ee4118b7fae9d93c09c870e72de0e49d (patch) | |
| tree | ae2be56826c4c993d2c468b2e8f4edeca0f8555d /js | |
| parent | 49766ab01f24d1be5743c353b9a6d4d09f55f5b8 (diff) | |
add limited highlighting of filter test results based on matched rules
Diffstat (limited to 'js')
| -rw-r--r-- | js/CommonFilters.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/CommonFilters.js b/js/CommonFilters.js index 83bc4cae9..f1f0e9e0c 100644 --- a/js/CommonFilters.js +++ b/js/CommonFilters.js @@ -20,7 +20,7 @@ const Filters = { PARAM_ACTIONS: [4, 6, 7, 9, 10], filter_info: {}, formatMatchedRules: function(rules) { - return rules.map((r) => r.regexp_matches[0] + ' - ' + r.reg_exp).join('\n'); + return rules.map((r) => r.regexp_matches[0] + ' - ' + r.reg_exp + ' (' + r.type + ')').join('\n'); }, test: function() { const test_dialog = new fox.SingleUseDialog({ |