Skip to content

Commit

Permalink
fix timelion app i18n and simplify stylesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 committed Apr 16, 2020
1 parent 64987ff commit 9750e36
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/legacy/core_plugins/timelion/public/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import { getTimezone } from '../../../../plugins/vis_type_timelion/public';

import 'uiExports/savedObjectTypes';

require('ui/i18n');
require('ui/autoload/all');

// TODO: remove ui imports completely (move to plugins)
Expand All @@ -57,7 +58,7 @@ require('plugins/timelion/directives/timelion_options_sheet');

document.title = 'Timelion - Kibana';

const app = require('ui/modules').get('apps/timelion', []);
const app = require('ui/modules').get('apps/timelion', ['i18n', 'ngSanitize']);

require('ui/routes').enable();

Expand Down
6 changes: 3 additions & 3 deletions src/plugins/vis_type_timelion/public/index.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@import '../public/timelion_vis';
@import '../public/timelion_editor';
@import '../public/components/index';
@import './timelion_vis';
@import './timelion_editor';
@import './components/index';

0 comments on commit 9750e36

Please sign in to comment.