From fffd1af6c08518d3660af45db4661feea472052b Mon Sep 17 00:00:00 2001 From: Ryan Vazquez Date: Mon, 24 May 2021 17:36:03 -0400 Subject: [PATCH] null groups are valid Signed-off-by: Ryan Vazquez --- plugins/cost-insights/src/utils/history.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/cost-insights/src/utils/history.ts b/plugins/cost-insights/src/utils/history.ts index 7d45cfdad2..9e13db3c7a 100644 --- a/plugins/cost-insights/src/utils/history.ts +++ b/plugins/cost-insights/src/utils/history.ts @@ -23,7 +23,7 @@ import { ConfigContextProps } from '../hooks/useConfig'; const schema = yup .object() .shape({ - group: yup.string(), + group: yup.string().nullable(), project: yup.string().nullable(), }) .required();