Fix(Productivity Analytics): store initialization

Merged Michael Lunøe requested to merge 255887-mlunoe-ensure-export-of-initialized-store into master

What does this MR do?

This MR fixes an issue introduced here, where the exported store was changed to a function instead of an initialized store. This MR corrects that mistake.

Screenshots

Screen_Shot_2020-09-28_at_12.14.26

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

To test this fix navigate to this page and apply filters, you should see the results now being filtered by the applied filters:

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team

Closes #255887 (closed)