Fix Helm chart version comparison (#174)

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
Signed-off-by: Cody Belcher <cody.t.belcher@gmail.com>
This commit is contained in:
Lauri Nevala authored and Cody Belcher committed 2020-04-16 11:23:40 -05:00
1 parent 39424c5356
commit c201d0a01c
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>