mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Small refactoring: Identity
This commit is contained in:
parent
e3b62d24d8
commit
2ab17f8eff
3 changed files with 6 additions and 6 deletions
|
|
@ -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('');
|
||||
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue