Commit b773297a authored by Juorder Antonio's avatar Juorder Antonio

enable add admin buttons and add allowers for domain admins, add advances for store functionality

parent ca7d0457
...@@ -36,7 +36,7 @@ export default class Mailboxes extends React.Component { ...@@ -36,7 +36,7 @@ export default class Mailboxes extends React.Component {
constructor(props) { constructor(props) {
super(props); super(props);
this.isMounted = true; //this.isMounted = null;
this.isStoreEnabled = window.manager_config.enableStores; this.isStoreEnabled = window.manager_config.enableStores;
this.archivingConfig = window.manager_config.plans.archiving; this.archivingConfig = window.manager_config.plans.archiving;
this.domainId = this.props.params.domain_id || null; this.domainId = this.props.params.domain_id || null;
...@@ -350,7 +350,7 @@ export default class Mailboxes extends React.Component { ...@@ -350,7 +350,7 @@ export default class Mailboxes extends React.Component {
MailboxStore.removeListenerAddMassive(this.showMessage); MailboxStore.removeListenerAddMassive(this.showMessage);
$('#sidebar-mailboxes').removeClass('active'); $('#sidebar-mailboxes').removeClass('active');
this.domainName = null; this.domainName = null;
this.isMounted = false; //this.isMounted = false;
this.domainId = null; this.domainId = 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