mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Enforce some naming conventions (#4813)
This commit is contained in:
1 parent
dc6615f98f
commit
0b32775d40
197 files changed
+630
-634
No files matched your search
@@ -21,14 +21,14 @@ import { ClusterMetricsResourceType } from "../../../common/cluster-types";
|
||||
import { boundMethod } from "../../utils";
|
||||
import logger from "../../../common/logger";
|
||||
|
||||
interface Props extends KubeObjectDetailsProps<Ingress> {
|
||||
export interface IngressDetailsProps extends KubeObjectDetailsProps<Ingress> {
|
||||
}
|
||||
|
||||
@observer
|
||||
export class IngressDetails extends React.Component<Props> {
|
||||
export class IngressDetails extends React.Component<IngressDetailsProps> {
|
||||
@observable metrics: IIngressMetrics = null;
|
||||
|
||||
constructor(props: Props) {
|
||||
constructor(props: IngressDetailsProps) {
|
||||
super(props);
|
||||
makeObservable(this);
|
||||
}
|
||||
|
||||
@@ -21,11 +21,11 @@ enum columnId {
|
||||
age = "age",
|
||||
}
|
||||
|
||||
interface Props extends RouteComponentProps<IngressRouteParams> {
|
||||
export interface IngressesProps extends RouteComponentProps<IngressRouteParams> {
|
||||
}
|
||||
|
||||
@observer
|
||||
export class Ingresses extends React.Component<Props> {
|
||||
export class Ingresses extends React.Component<IngressesProps> {
|
||||
render() {
|
||||
return (
|
||||
<KubeObjectListLayout
|
||||
|
||||
Reference in new issue
Block a user