[Maps] Provide IntlProvider to map listing page (#39459)
This commit is contained in:
parent
b9f8bacdda
commit
4048c10a16
1 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
import './kibana_services';
|
||||
|
||||
import { wrapInI18nContext } from 'ui/i18n';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
|
||||
// import the uiExports that we want to "use"
|
||||
|
@ -39,7 +40,7 @@ data.query.loadLegacyDirectives();
|
|||
const app = uiModules.get('app/maps', ['ngRoute', 'react']);
|
||||
|
||||
app.directive('mapListing', function (reactDirective) {
|
||||
return reactDirective(MapListing);
|
||||
return reactDirective(wrapInI18nContext(MapListing));
|
||||
});
|
||||
|
||||
routes.enable();
|
||||
|
|
Loading…
Reference in a new issue