Skip to content

Commit 3569ec0

Browse files
committed
Improve WEB UI
1 parent a8264c3 commit 3569ec0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crates/web-ui/src/handlers.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,10 +1662,10 @@ fn generate_comparison_summary(
16621662
let unchanged_files = file_changes.iter().filter(|c| c.change_type == "unchanged").count();
16631663

16641664
let total_functions = function_matches.len();
1665-
let added_functions = function_matches.iter().filter(|m| m.match_type == "added").count();
1666-
let deleted_functions = function_matches.iter().filter(|m| m.match_type == "deleted").count();
1667-
let modified_functions = function_matches.iter().filter(|m| m.match_type == "similar").count();
1668-
let moved_functions = function_matches.iter().filter(|m| m.match_type == "moved" || m.match_type == "renamed").count();
1665+
let added_functions = function_matches.iter().filter(|m| m.change_type == "added").count();
1666+
let deleted_functions = function_matches.iter().filter(|m| m.change_type == "deleted").count();
1667+
let modified_functions = function_matches.iter().filter(|m| m.change_type == "modified").count();
1668+
let moved_functions = function_matches.iter().filter(|m| m.change_type == "moved" || m.change_type == "renamed").count();
16691669

16701670
DirectoryComparisonSummary {
16711671
total_files,

0 commit comments

Comments
 (0)