Skip to content

Commit

Permalink
Fix jest test
Browse files Browse the repository at this point in the history
  • Loading branch information
stratoula committed Nov 4, 2020
1 parent 7c1621e commit f2549d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/plugins/vis_default_editor/public/components/agg.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function DefaultEditorAgg({

const renderAggButtons = () => {
const actionIcons = [];
const aggTitle = agg.type?.title.toLowerCase();
const aggTitle = agg.type?.title?.toLowerCase();

if (showError) {
actionIcons.push({
Expand Down

0 comments on commit f2549d3

Please sign in to comment.