File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -537,7 +537,7 @@ export default {
537537 if ( store . listAllProjects ) {
538538 fields . push ( 'project' )
539539 }
540- if ( store . apis . scaleKubernetesCluster . params . filter ( x => x . name === 'autoscalingenabled' ) . length > 0 ) {
540+ if ( store . apis . scaleKubernetesCluster ? .params ? .filter ( x => x . name === 'autoscalingenabled' ) . length > 0 ) {
541541 fields . splice ( 2 , 0 , 'autoscalingenabled' )
542542 }
543543 fields . push ( 'zonename' )
Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ export default {
278278 }
279279 },
280280 mounted () {
281- if (this .$store .getters .apis .scaleKubernetesCluster .params .filter (x => x .name === ' nodeids' ).length > 0 && this .resource .clustertype === ' CloudManaged' ) {
281+ if (this .$store .getters .apis .scaleKubernetesCluster ? .params ? .filter (x => x .name === ' nodeids' ).length > 0 && this .resource .clustertype === ' CloudManaged' ) {
282282 this .vmColumns .push ({
283283 key: ' actions' ,
284284 title: this .$t (' label.actions' ),
You can’t perform that action at this time.
0 commit comments