mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-20 14:36:53 +00:00
(js) Update lodash to version 4.6.1
This commit is contained in:
1 parent
fadf52b01e
commit
d4745ef598
22 files changed
+116
-118
No files matched your search
@@ -78,7 +78,7 @@
|
||||
if (form.$valid) {
|
||||
vm.card.$save()
|
||||
.then(function(data) {
|
||||
var i = _.indexOf(_.pluck(AddressBook.selectedFolder.$cards, 'id'), vm.card.id);
|
||||
var i = _.indexOf(_.map(AddressBook.selectedFolder.$cards, 'id'), vm.card.id);
|
||||
if (i < 0) {
|
||||
// New card; reload contacts list and show addressbook in which the card has been created
|
||||
AddressBook.selectedFolder.$reload();
|
||||
|
||||
Reference in new issue
Block a user