From 301cbd5f062754ab616e98a5cf9508ea84441cc6 Mon Sep 17 00:00:00 2001 From: Andres Martinez Gotor Date: Wed, 20 Nov 2019 13:21:52 +0100 Subject: [PATCH] Fix downgrade when the schema is missing --- dashboard/src/reducers/charts.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard/src/reducers/charts.ts b/dashboard/src/reducers/charts.ts index c5b4e6ac1c7..fefbfece192 100644 --- a/dashboard/src/reducers/charts.ts +++ b/dashboard/src/reducers/charts.ts @@ -24,8 +24,8 @@ const chartsSelectedReducer = ( error: undefined, readmeError: undefined, version: action.payload.chartVersion, - values: action.payload.values ? action.payload.values : state.values, - schema: action.payload.schema ? action.payload.schema : state.schema, + values: action.payload.values, + schema: action.payload.schema, }; case getType(actions.charts.receiveChartVersions): return {