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

getConfig service should be getFormatter

XMLWordPrintable

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

      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)} />
      

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: