mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Use @typescript-eslint/semi.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
1 parent
0b182ccf6f
commit
460dfe4d2b
179 files changed
+556
-554
No files matched your search
@@ -62,7 +62,7 @@ export class UpgradeChart extends React.Component<Props> {
|
||||
onChange = (value: string, error?: string) => {
|
||||
upgradeChartStore.values.setData(this.tabId, value);
|
||||
this.error = error;
|
||||
}
|
||||
};
|
||||
|
||||
upgrade = async () => {
|
||||
if (this.error) return;
|
||||
@@ -79,13 +79,13 @@ export class UpgradeChart extends React.Component<Props> {
|
||||
<Trans>Release <b>{releaseName}</b> successfully upgraded to version <b>{version}</b></Trans>
|
||||
</p>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
formatVersionLabel = ({ value }: SelectOption<IChartVersion>) => {
|
||||
const chartName = this.release.getChart();
|
||||
const { repo, version } = value;
|
||||
return `${repo}/${chartName}-${version}`;
|
||||
}
|
||||
};
|
||||
|
||||
render() {
|
||||
const { tabId, release, value, error, onChange, upgrade, versions, version } = this;
|
||||
|
||||
Reference in new issue
Block a user