Skip to content

Commit

Permalink
Return enabled property in config for timelion vis
Browse files Browse the repository at this point in the history
  • Loading branch information
VladLasitsa committed Sep 6, 2021
1 parent b6ad899 commit 1fb400f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/vis_type_timelion/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { schema, TypeOf } from '@kbn/config-schema';

export const configSchema = schema.object({
graphiteUrls: schema.maybe(schema.arrayOf(schema.string())),
enabled: schema.boolean({ defaultValue: true }),
});

export type ConfigSchema = TypeOf<typeof configSchema>;

0 comments on commit 1fb400f

Please sign in to comment.