Commit 3bee3959 authored by Patricio Bruna's avatar Patricio Bruna

Fixed empty members DL

parent 16ad6aa7
...@@ -14212,7 +14212,8 @@ return /******/ (function(modules) { // webpackBootstrap ...@@ -14212,7 +14212,8 @@ return /******/ (function(modules) { // webpackBootstrap
members.push(m._content); members.push(m._content);
}); });
} else if (this.attrs.zimbraMailForwardingAddress) { } else if (this.attrs.zimbraMailForwardingAddress) {
this.attrs.zimbraMailForwardingAddress.forEach(function (m) { var fwd_address = [].concat.apply([], [this.attrs.zimbraMailForwardingAddress]);
fwd_address.forEach(function (m) {
members.push(m); members.push(m);
}); });
} }
...@@ -43042,7 +43043,7 @@ return /******/ (function(modules) { // webpackBootstrap ...@@ -43042,7 +43043,7 @@ return /******/ (function(modules) { // webpackBootstrap
module.exports = { module.exports = {
"name": "zimbra-admin-api-js", "name": "zimbra-admin-api-js",
"version": "0.1.1", "version": "0.1.2",
"private": true, "private": true,
"main": "lib/zimbra-admin-api.js", "main": "lib/zimbra-admin-api.js",
"dependencies": { "dependencies": {
This diff is collapsed.
{ {
"name": "zimbra-admin-api-js", "name": "zimbra-admin-api-js",
"version": "0.1.1", "version": "0.1.2",
"private": true, "private": true,
"main": "lib/zimbra-admin-api.js", "main": "lib/zimbra-admin-api.js",
"dependencies": { "dependencies": {
......
...@@ -40,7 +40,8 @@ export default class DistributionList extends Zimbra { ...@@ -40,7 +40,8 @@ export default class DistributionList extends Zimbra {
members.push(m._content); members.push(m._content);
}); });
} else if (this.attrs.zimbraMailForwardingAddress) { } else if (this.attrs.zimbraMailForwardingAddress) {
this.attrs.zimbraMailForwardingAddress.forEach((m) => { const fwd_address = [].concat.apply([], [this.attrs.zimbraMailForwardingAddress]);
fwd_address.forEach((m) => {
members.push(m); members.push(m);
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment