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
@@ -46,11 +46,11 @@ export class KubeConfigDialog extends React.Component<Props> {
|
||||
|
||||
close = () => {
|
||||
KubeConfigDialog.close();
|
||||
}
|
||||
};
|
||||
|
||||
onOpen = () => {
|
||||
this.loadConfig();
|
||||
}
|
||||
};
|
||||
|
||||
async loadConfig() {
|
||||
const config = await this.data.loader().catch(err => {
|
||||
@@ -64,11 +64,11 @@ export class KubeConfigDialog extends React.Component<Props> {
|
||||
if (this.config && copyToClipboard(this.configTextArea)) {
|
||||
Notifications.ok(<Trans>Config copied to clipboard</Trans>);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
download = () => {
|
||||
downloadFile("config", this.config, "text/yaml");
|
||||
}
|
||||
};
|
||||
|
||||
render() {
|
||||
const { isOpen, data = {} } = KubeConfigDialog;
|
||||
|
||||
Reference in new issue
Block a user