}
updateUserSuccess() {
this.alt.actions.global.hideScreenLoader.defer();
- let users = this.users;
+ let users = this.users || [];
users[this.activeIndex] = {
'user-name': this['user-name'],
'user-domain': this['user-domain'],
}
createUserSuccess() {
this.alt.actions.global.hideScreenLoader.defer();
- let users = this.users;
+ let users = this.users || [];
users.push({
'user-name': this['user-name'],
'user-domain': this['user-domain'],