@@ -31,7 +31,7 @@ import {Link, Loader} from '@yandex-cloud/uikit';
31
31
//@ts -ignore
32
32
import Icon from '../Icon/Icon' ;
33
33
import { setHeader } from '../../store/reducers/header' ;
34
- import routes , { CLUSTER_PAGES , createHref } from '../../routes' ;
34
+ import routes , { CLUSTER_PAGES , createHref } from '../../routes' ;
35
35
36
36
const b = cn ( 'cluster-info' ) ;
37
37
@@ -62,7 +62,7 @@ interface ClusterInfoProps {
62
62
setHeader : any ;
63
63
getClusterInfo : ( clusterName : string ) => void ;
64
64
clusterTitle ?: string ;
65
- additionalInfo ?: IClusterInfoItem [ ] ;
65
+ additionalClusterInfo ?: IClusterInfoItem [ ] ;
66
66
loading : boolean ;
67
67
singleClusterMode : boolean ;
68
68
wasLoaded : boolean ;
@@ -128,7 +128,11 @@ class ClusterInfo extends React.Component<ClusterInfoProps> {
128
128
private autofetcher : any ;
129
129
130
130
private getInfo ( ) {
131
- const { cluster = { } as ICluster , additionalInfo = [ ] , singleClusterMode} = this . props ;
131
+ const {
132
+ cluster = { } as ICluster ,
133
+ additionalClusterInfo = [ ] ,
134
+ singleClusterMode,
135
+ } = this . props ;
132
136
const { StorageTotal, StorageUsed} = cluster ;
133
137
134
138
let link = backend + '/internal' ;
@@ -173,7 +177,7 @@ class ClusterInfo extends React.Component<ClusterInfoProps> {
173
177
label : 'Versions' ,
174
178
value : < div > { cluster . Versions ?. join ( ', ' ) } </ div > ,
175
179
} ,
176
- ...additionalInfo ,
180
+ ...additionalClusterInfo ,
177
181
{
178
182
label : 'Internal viewer' ,
179
183
value : (
0 commit comments