Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-1826 Report props restructuring
  3. OPT-1913

getConfig service should be getFormatter

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • L3 - Default
    • 2.4.0-alpha2, 2.4.0
    • None
    • frontend
    • None

    Description

      Currently, the getConfig service method gets props, only to return them again. The only functional logic this function provides is to get the formatter, so it should rather be `getFormatter`.

      In the ReportView components, we could do something like this:

      <Component {...this.props} formatter={getFormatter(view.property)} />
      

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                sebastian.stamm Sebastian Stamm
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce