1
0
mirror of https://github.com/karl0ss/homepage.git synced 2025-05-25 15:15:18 +01:00
This commit is contained in:
shamoon 2024-11-27 17:59:15 -08:00
parent be8363cc35
commit aaf4a3e92f

@ -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) {