fixed new user model input and renaming model group
This commit is contained in:
@ -25,6 +25,8 @@ export class UserModel extends BaseModel{
|
||||
if (mode === 'admin') {
|
||||
keys.push('level');
|
||||
keys.push('models');
|
||||
this.devices = this.devices.filter(e => e);
|
||||
this.models = this.models.filter(e => e);
|
||||
}
|
||||
return pick(this, keys);
|
||||
}
|
||||
|
Reference in New Issue
Block a user