]> git.evergreen-ils.org Git - Evergreen.git/commit
make npm run export-strings happier
authorGalen Charlton <gmc@equinoxinitiative.org>
Thu, 17 Sep 2020 16:16:01 +0000 (12:16 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 17 Sep 2020 16:16:01 +0000 (12:16 -0400)
commit6f73091539a6e2e2aab08ca708abaa99884c6efb
tree4dcfcef324ce302957004388eb9c64218d499f3e
parentcbcacba5202fb7ededf65cff10fd86f874b20c24
make npm run export-strings happier

The UrlMatcher function used by the provider interface needs
to spelled slighly differently to avoid the AOT compiler
used by "npm run export-strings" from failing with the following error:

ERROR in Error during template compile of 'AcqProviderRoutingModule'
  Function expressions are not supported in decorators in 'ɵ0'
    'ɵ0' contains the error at app/staff/acq/provider/routing.module.ts(7,14)
      Consider changing the function expression into an exported function

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/acq/provider/routing.module.ts