diff --git a/src/scripts/js/es6/common/templates/users/Users.js b/src/scripts/js/es6/common/templates/users/Users.js index 56a02186..b938f823 100644 --- a/src/scripts/js/es6/common/templates/users/Users.js +++ b/src/scripts/js/es6/common/templates/users/Users.js @@ -2,6 +2,7 @@ import { ComponentCreatorInterface } from '../component/ComponentCreatorInterfac export class Users extends ComponentCreatorInterface { static create$listItem(userDoc) { + let roles = userDoc.roles || []; return $('