Skip to content

Commit

Permalink
Fix support for xpack.spaces.maxSpaces (#67846)
Browse files Browse the repository at this point in the history
  • Loading branch information
legrego authored Jun 1, 2020
1 parent 773a44d commit afbbafb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion x-pack/legacy/plugins/spaces/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@ export const spaces = (kibana: Record<string, any>) =>
configPrefix: 'xpack.spaces',
publicDir: resolve(__dirname, 'public'),
require: ['kibana', 'elasticsearch', 'xpack_main'],

config(Joi: any) {
return Joi.object({
enabled: Joi.boolean().default(true),
})
.unknown()
.default();
},
uiExports: {
managementSections: [],
apps: [],
Expand Down

0 comments on commit afbbafb

Please sign in to comment.