Small refactoring: Identity

This commit is contained in:
RainLoop Team 2015-10-29 23:47:23 +03:00
parent e3b62d24d8
commit 2ab17f8eff
3 changed files with 6 additions and 6 deletions

View file

@ -19,7 +19,7 @@
{
AbstractModel.call(this, 'IdentityModel');
this.id = ko.observable(sId);
this.id = ko.observable(sId || '');
this.email = ko.observable(sEmail);
this.name = ko.observable('');

View file

@ -170,7 +170,7 @@
{
this.edit(true);
this.id = oIdentity.id();
this.id = oIdentity.id() || '';
this.name(oIdentity.name());
this.email(oIdentity.email());
this.replyTo(oIdentity.replyTo());