Commit 54d4721f authored by Juorder Gonzalez's avatar Juorder Gonzalez Committed by GitHub

Merge pull request #242 from ZBoxApp/salesApp

add app sales integrated with manager zbox app, only for global admin…
parents 7527fb6c feb8004f
......@@ -318,7 +318,7 @@ export default class CreateMailBox extends React.Component {
}
getAllDomains() {
const max = 200;
const max = 1000;
new Promise((resolve, reject) => {
Client.getAllDomains(
......@@ -336,7 +336,6 @@ export default class CreateMailBox extends React.Component {
const rightsDomains = Utils.getDomainsCleaned(domains.domain);
domains.domain = rightsDomains;
domains.total = rightsDomains.length;
console.log(domains);
const response = {
plans: this.cos,
......@@ -345,7 +344,8 @@ export default class CreateMailBox extends React.Component {
if (this.props.params.id) {
let defaultDomain = null;
if (DomainStore.getCurrent()) {
if (this.isStoreEnabled && DomainStore.getCurrent()) {
defaultDomain = DomainStore.getCurrent();
}
......
......@@ -581,7 +581,7 @@ export default class EditMailBox extends React.Component {
getMailbox(id) {
const promises = [];
let data = null;
const max = 200;
const max = 1000;
Utils.toggleStatusButtons('.action-save', true);
const hasMailboxes = this.isStoreEnabled ? MailboxStore.hasMailboxes() : null;
......
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