mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Simplify most of the KubeObjectDetailRegistry initial values (#3529)
- Keep one without any type param to make sure that an extension developer can as well - Keep one with a child type to make sure the same as above Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
b9bb990690
commit
b546f1df72
2 files changed
+59
-60
No files matched your search
@@ -33,11 +33,11 @@ import { Table, TableCell, TableHead, TableRow } from "../table";
|
||||
import { lookupApiLink } from "../../api/kube-api";
|
||||
import { KubeObjectMeta } from "../kube-object/kube-object-meta";
|
||||
|
||||
interface Props extends KubeObjectDetailsProps<HorizontalPodAutoscaler> {
|
||||
export interface HpaDetailsProps extends KubeObjectDetailsProps<HorizontalPodAutoscaler> {
|
||||
}
|
||||
|
||||
@observer
|
||||
export class HpaDetails extends React.Component<Props> {
|
||||
export class HpaDetails extends React.Component<HpaDetailsProps> {
|
||||
renderMetrics() {
|
||||
const { object: hpa } = this.props;
|
||||
|
||||
|
||||
Reference in new issue
Block a user