Remove comment blocks

This commit is contained in:
Andrew Kingston 2023-03-01 09:32:52 +00:00 committed by GitHub
parent 09adef4d59
commit 8234fc7f3a
1 changed files with 0 additions and 15 deletions

View File

@ -93,15 +93,6 @@
}
}
// if (
// !appRole &&
// user.userGroups &&
// !user.builder?.global &&
// !user.admin.global
// ) {
// console.log("Hi, I don't have groups > ", user.email)
// }
return {
...user,
role,
@ -220,12 +211,6 @@
// Adds the 'role' attribute and sets it to the current app.
$: enrichedGroups = getEnrichedGroups($groups)
$: filteredGroups = searchGroups(enrichedGroups, query)
// $: enrichedAppGroupsById = getAppGroups(enrichedGroups, prodAppId).map(
// group => group._id
// )
// $: console.log("ALL GROUP IDS ", enrichedAppGroupsById)
$: groupUsers = buildGroupUsers(filteredGroups, filteredUsers)
$: allUsers = [...filteredUsers, ...groupUsers]