Skip to content

Commit

Permalink
Add note
Browse files Browse the repository at this point in the history
  • Loading branch information
shamoon committed Nov 28, 2024
1 parent be8363c commit aaf4a3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/config/service-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,7 @@ export function cleanServiceGroups(groups) {
}

export function findGroupByName(groups, name) {
// Deep search for a group by name. Using for loop allows for early return
for (let i = 0; i < groups.length; i += 1) {
const group = groups[i];
if (group.name === name) {
Expand Down

0 comments on commit aaf4a3e

Please sign in to comment.