Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipb committed Mar 23, 2020
1 parent 8b17d04 commit 68b8a27
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export const Expressions: React.FC<Props> = props => {
}, []);

const updateTimeSize = useCallback(
(ts: number | '') => {
(ts: number | undefined) => {
const criteria = alertParams.criteria.map(c => ({
...c,
timeSize: ts,
Expand Down Expand Up @@ -370,6 +370,7 @@ export const ExpressionRow: React.FC<ExpressionRowProps> = props => {
{aggType !== 'count' && (
<StyledExpression>
<OfExpression
customAggTypesOptions={aggregationType}
aggField={metric}
fields={fields.map(f => ({
normalizedType: f.type,
Expand Down

0 comments on commit 68b8a27

Please sign in to comment.