Skip to content

Commit

Permalink
add support for Kibana 7.15 (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpiment authored Dec 21, 2021
1 parent 7a62cc7 commit 7b59d21
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions public/get_inner_angular.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,13 @@ import 'angular-recursion';
import { i18nDirective, i18nFilter, I18nProvider } from '@kbn/i18n/angular';
import { CoreStart, IUiSettingsClient, PluginInitializerContext } from 'kibana/public';
import {
initAngularBootstrap,
PaginateDirectiveProvider,
PaginateControlsDirectiveProvider,
PrivateProvider,
watchMultiDecorator,
KbnAccessibleClickProvider,
} from '../../../src/plugins/kibana_legacy/public';

initAngularBootstrap();

const thirdPartyAngularDependencies = ['ngSanitize', 'ui.bootstrap', 'RecursionHelper'];

export function getAngularModule(name: string, core: CoreStart, context: PluginInitializerContext) {
Expand Down
1 change: 1 addition & 0 deletions public/vis_controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export function getEnhancedTableVisualizationController(
async initLocalAngular() {
if (!this.tableVisModule) {
const [coreStart] = await core.getStartServices();
await getKibanaLegacy().loadAngularBootstrap();
this.tableVisModule = getAngularModule(innerAngularName, coreStart, context);
initTableVisLegacyModule(this.tableVisModule);
getKibanaLegacy().loadFontAwesome();
Expand Down

0 comments on commit 7b59d21

Please sign in to comment.