Fix Helm chart version comparison

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Lauri Nevala committed 2020-03-29 22:27:32 +03:00
1 parent 390ab9dccf
commit b98692ce6c
4 files changed
+9 -7

No files matched your search

@@ -106,8 +106,7 @@ export class UpgradeChart extends React.Component<Props> {
themeName="outlined"
value={version}
options={versions}
formatOptionLabel={this.formatVersionLabel}
isOptionDisabled={({ value }: SelectOption<IChartVersion>) => value.version === currentVersion}
formatOptionLabel={this.formatVersionLabel}
onChange={({ value }: SelectOption) => this.version = value}
/>
</div>