Commit feb8004f authored by Juorder Antonio's avatar Juorder Antonio

add app sales integrated with manager zbox app, only for global admin, for...

add app sales integrated with manager zbox app, only for global admin, for testing purposes, add sales view. etc
parent 7527fb6c
......@@ -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