Skip to content

Commit

Permalink
Fix downgrade when the schema is missing (#1304)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andres Martinez Gotor authored Nov 21, 2019
1 parent dfaccd0 commit 20c013b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dashboard/src/reducers/charts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 20c013b

Please sign in to comment.