Skip to content

Commit

Permalink
Address review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kertal committed Jan 9, 2020
1 parent 551f751 commit c45cc75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function DiscoverIndexPattern({

const [selected, setSelected] = useState({
id: selectedId,
title: attributes ? attributes.title : '',
title: attributes?.title || '',
});
if (!selectedId) {
return null;
Expand Down

0 comments on commit c45cc75

Please sign in to comment.