Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 committed Apr 4, 2022
1 parent acadf79 commit 25ff6c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function isTimeBased(state: LensState, datasourceMap: DatasourceMap) {
const { activeDatasourceId, datasourceStates } = state.lens;
return Boolean(
activeDatasourceId &&
datasourceMap[activeDatasourceId].isTimeBased(datasourceStates[activeDatasourceId].state)
datasourceMap[activeDatasourceId].isTimeBased?.(datasourceStates[activeDatasourceId].state)
);
}

Expand Down

0 comments on commit 25ff6c9

Please sign in to comment.