transformSubscribedOption(option, optionsCountMap) {
    const optionConfig = {};
    optionConfig.id = option;
    optionConfig.type = this.$translate.instant(`${option}-type`);
    optionConfig.detail = this.$translate.instant(`${option}-detail`);
    optionConfig.quantity = optionsCountMap[option];
    return optionConfig;
  }
/**
   * returns the transformed option, which has the count for each of the options.
   * Meant to be used for the subscribed options
   *
   * @param {any} option
   * @param {any} optionsCountMap
   * @returns the transformed option
   * @memberof LogsOptionsService
   */
returns the transformed option, which has the count for each of the options.
Meant to be used for the subscribed options

@param {any} option
@param {any} optionsCountMap
@returns the transformed option
@memberof LogsOptionsService
returns the transformed option which has the count for each of the options . Meant to be used for the subscribed options @param { any } option @param { any } optionsCountMap @returns the transformed option @memberof LogsOptionsService
transformSubscribedOption(option, optionsCountMap) {
    const optionConfig = {};
    optionConfig.id = option;
    optionConfig.type = this.$translate.instant(`${option}-type`);
    optionConfig.detail = this.$translate.instant(`${option}-detail`);
    optionConfig.quantity = optionsCountMap[option];
    return optionConfig;
  }
transformSubscribedOption ( option , optionsCountMap ) { const optionConfig = { } ; optionConfig . id = option ; optionConfig . type = this . $translate . instant ( ` ${ option } ` ) ; optionConfig . detail = this . $translate . instant ( ` ${ option } ` ) ; optionConfig . quantity = optionsCountMap [ option ] ; return optionConfig ; }
returns the transformed option, which has the count for each of the options.
returns the transformed option which has the count for each of the options .