Skip to content

Commit

Permalink
Updates Canvas and consistent order
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
  • Loading branch information
Tyler Smalley committed Sep 17, 2018
1 parent f231a14 commit 8cf3978
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/core_plugins/status_page/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
export default function (kibana) {
return new kibana.Plugin({
uiExports: {
styleSheetPaths: `${__dirname}/public/index.scss`,
app: {
title: 'Server Status',
main: 'plugins/status_page/status_page',
hidden: true,
url: '/status',
}
},
styleSheetPaths: `${__dirname}/public/index.scss`,
}
});
}
2 changes: 1 addition & 1 deletion x-pack/plugins/canvas/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export function canvas(kibana) {
description: 'Data driven workpads',
icon: 'plugins/canvas/icon.svg',
main: 'plugins/canvas/app',
styleSheetPath: `${__dirname}/public/style/index.scss`,
},
styleSheetPaths: `${__dirname}/public/style/index.scss`,
hacks: [
// window.onerror override
'plugins/canvas/lib/window_error_handler.js',
Expand Down
4 changes: 2 additions & 2 deletions x-pack/plugins/dashboard_mode/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export function dashboardMode(kibana) {
publicDir: resolve(__dirname, 'public'),
require: ['kibana', 'elasticsearch', 'xpack_main'],
uiExports: {
styleSheetPaths: `${__dirname}/public/index.scss`,
uiSettingDefaults: {
[CONFIG_DASHBOARD_ONLY_MODE_ROLES]: {
name: 'Dashboards only roles',
Expand All @@ -52,7 +51,8 @@ export function dashboardMode(kibana) {
icon: 'plugins/kibana/assets/dashboard.svg',
}
],
}
},
styleSheetPaths: `${__dirname}/public/index.scss`,
},

config(Joi) {
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/ml/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ export const ml = (kibana) => {
description: 'Machine Learning for the Elastic Stack',
icon: 'plugins/ml/ml.svg',
main: 'plugins/ml/app',
styleSheetPath: `${__dirname}/public/index.scss`,
},
styleSheetPaths: `${__dirname}/public/index.scss`,
hacks: ['plugins/ml/hacks/toggle_app_link_in_nav'],
home: ['plugins/ml/register_feature']
},
Expand Down

0 comments on commit 8cf3978

Please sign in to comment.