Skip to content

Commit

Permalink
Merge pull request #1753 from ushahidi/import-data-module
Browse files Browse the repository at this point in the history
Importing data-module with SystemJS syntax
  • Loading branch information
tuxpiper authored Nov 12, 2021
2 parents fa53f38 + 30e7cb2 commit ed599eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion legacy/app/data/data-routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function (
template: require('./post-create/main.html'),
lazyLoad: function ($transition$) {
const $ocLazyLoad = $transition$.injector().get('$ocLazyLoad');
return System.import('/data.js').then(mod => {
return System.import('@ushahidi/legacy-data').then(mod => {
$ocLazyLoad.load(mod.DATA_MODULE);
});
}
Expand Down

0 comments on commit ed599eb

Please sign in to comment.