Skip to content

Commit

Permalink
fix: search the group name
Browse files Browse the repository at this point in the history
issue #2081
  • Loading branch information
frankiejol committed Sep 10, 2024
1 parent 665d598 commit 4fd9c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -1591,7 +1591,7 @@ ravadaApp.directive("solShowMachine", swMach)
$scope.local_groups = [];
var re = new RegExp($scope.group_filter);
for (var i=0; i<$scope.local_groups_all.length; i++) {
if (re.test($scope.local_groups_all[i])) {
if (re.test($scope.local_groups_all[i].name)) {
$scope.local_groups.push($scope.local_groups_all[i]);
}
}
Expand Down

0 comments on commit 4fd9c58

Please sign in to comment.