updateUsage(account) {
      this.loading.usage = true;
      this.WucEmails.updateDelegatedUsage(account.email)
        .then(() => this.WucEmails
          .getEmailDelegatedUsage(account.email)
          .then(() => this.constructor.setAccountPercentUse(account)))
        .catch(err => this.Alerter.alertFromSWS(
          this.$translate.instant('email_tab_modal_update_usage_error'),
          err,
          this.$scope.alerts.main,
        ))
        .finally(() => {
          this.loading.usage = false;
        });
    }
/**
     * Update selected Email usage
     * @param {object} account
     */
Update selected Email usage
@param {object} account
Update selected Email usage @param { object } account
updateUsage(account) {
      this.loading.usage = true;
      this.WucEmails.updateDelegatedUsage(account.email)
        .then(() => this.WucEmails
          .getEmailDelegatedUsage(account.email)
          .then(() => this.constructor.setAccountPercentUse(account)))
        .catch(err => this.Alerter.alertFromSWS(
          this.$translate.instant('email_tab_modal_update_usage_error'),
          err,
          this.$scope.alerts.main,
        ))
        .finally(() => {
          this.loading.usage = false;
        });
    }
updateUsage ( account ) { this . loading . usage = true ; this . WucEmails . updateDelegatedUsage ( account . email ) . then ( ( ) => this . WucEmails . getEmailDelegatedUsage ( account . email ) . then ( ( ) => this . constructor . setAccountPercentUse ( account ) ) ) . catch ( err => this . Alerter . alertFromSWS ( this . $translate . instant ( 'email_tab_modal_update_usage_error' ) , err , this . $scope . alerts . main , ) ) . finally ( ( ) => { this . loading . usage = false ; } ) ; }
Update selected Email usage
 @param {object} account
Update selected Email usage @param { object } account