mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Split RainLoop/Actions.php and use JsonSerializable
This commit is contained in:
parent
8cd2bd46d8
commit
9844c1882c
24 changed files with 3205 additions and 3066 deletions
|
|
@ -155,7 +155,7 @@ class ContactsPopupView extends AbstractViewNext {
|
|||
});
|
||||
|
||||
this.contactsCheckedOrSelectedUids = ko.computed(() =>
|
||||
this.contactsCheckedOrSelected().map(contact => contact.idContact)
|
||||
this.contactsCheckedOrSelected().map(contact => contact.id)
|
||||
);
|
||||
|
||||
this.selector = new Selector(
|
||||
|
|
@ -436,7 +436,7 @@ class ContactsPopupView extends AbstractViewNext {
|
|||
|
||||
if (contacts.length) {
|
||||
contacts.forEach(contact => {
|
||||
if (currentContact && currentContact.idContact === contact.idContact) {
|
||||
if (currentContact && currentContact.id === contact.id) {
|
||||
currentContact = null;
|
||||
this.currentContact(null);
|
||||
}
|
||||
|
|
@ -500,7 +500,7 @@ class ContactsPopupView extends AbstractViewNext {
|
|||
this.viewReadOnly(false);
|
||||
|
||||
if (contact) {
|
||||
id = contact.idContact;
|
||||
id = contact.id;
|
||||
if (Array.isNotEmpty(contact.properties)) {
|
||||
contact.properties.forEach(property => {
|
||||
if (property && property[0]) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue