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
+4
-4
@@ -22,8 +22,8 @@ interface Props extends Partial<DialogProps> {
|
||||
export class CreateServiceAccountDialog extends React.Component<Props> {
|
||||
@observable static isOpen = false;
|
||||
|
||||
@observable name = ""
|
||||
@observable namespace = "default"
|
||||
@observable name = "";
|
||||
@observable namespace = "default";
|
||||
|
||||
static open() {
|
||||
CreateServiceAccountDialog.isOpen = true;
|
||||
@@ -35,7 +35,7 @@ export class CreateServiceAccountDialog extends React.Component<Props> {
|
||||
|
||||
close = () => {
|
||||
CreateServiceAccountDialog.close();
|
||||
}
|
||||
};
|
||||
|
||||
createAccount = async () => {
|
||||
const { name, namespace } = this;
|
||||
@@ -47,7 +47,7 @@ export class CreateServiceAccountDialog extends React.Component<Props> {
|
||||
} catch (err) {
|
||||
Notifications.error(err);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
render() {
|
||||
const { ...dialogProps } = this.props;
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@ export class ServiceAccountsDetails extends React.Component<Props> {
|
||||
return secretsStore.load({ name, namespace }).catch(_err => { return this.generateDummySecretObject(name); });
|
||||
});
|
||||
this.imagePullSecrets = await Promise.all(imagePullSecrets);
|
||||
})
|
||||
});
|
||||
|
||||
renderSecrets() {
|
||||
const { secrets } = this;
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ interface State {
|
||||
export class ServiceAccountsSecret extends React.Component<Props, State> {
|
||||
public state: State = {
|
||||
showToken: false,
|
||||
}
|
||||
};
|
||||
|
||||
renderSecretValue() {
|
||||
const { secret } = this.props;
|
||||
|
||||
@@ -5,7 +5,7 @@ import { apiManager } from "../../api/api-manager";
|
||||
|
||||
@autobind()
|
||||
export class ServiceAccountsStore extends KubeObjectStore<ServiceAccount> {
|
||||
api = serviceAccountsApi
|
||||
api = serviceAccountsApi;
|
||||
|
||||
protected async createItem(params: { name: string; namespace?: string }) {
|
||||
await super.createItem(params);
|
||||
|
||||
Reference in new issue
Block a user