Skip to content

Commit

Permalink
load prepackage timelines by default
Browse files Browse the repository at this point in the history
  • Loading branch information
angorayc committed Aug 4, 2020
1 parent 4031f55 commit bb05381
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const useTimelineStatus = ({
}, [templateTimelineType, filters, isTemplateFilterEnabled, onFilterClicked]);

const installPrepackagedTimelines = useCallback(async () => {
if (templateTimelineType === TemplateTimelineType.elastic) {
if (templateTimelineType !== TemplateTimelineType.custom) {
await installPrepackedTimelines();
}
}, [templateTimelineType]);
Expand Down

0 comments on commit bb05381

Please sign in to comment.