Skip to content

Commit 29b0177

Browse files
authored
web/admin: fix variable name (#15934)
fix variable name
1 parent f15ddfc commit 29b0177

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/admin/rbac/InitialPermissionsForm.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ export class InitialPermissionsForm extends ModelForm<InitialPermissions, string
7474
if (query !== undefined) {
7575
args.search = query;
7676
}
77-
const users = await new RbacApi(DEFAULT_CONFIG).rbacRolesList(args);
78-
return users.results;
77+
const roles = await new RbacApi(DEFAULT_CONFIG).rbacRolesList(args);
78+
return roles.results;
7979
}}
8080
.renderElement=${(role: Role): string => {
8181
return role.name;

0 commit comments

Comments
 (0)