getConfig service should be getFormatter

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 2.4.0-alpha2, 2.4.0
    • Affects Version/s: None
    • Component/s: 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

              Assignee:
              Unassigned
              Reporter:
              Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: