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 @@ -628,7 +628,7 @@ export default {
628628 if ( store . listAllProjects ) {
629629 fields . push ( 'project' )
630630 }
631- if ( store . apis . scaleKubernetesCluster . params . filter ( x => x . name === 'autoscalingenabled' ) . length > 0 ) {
631+ if ( store . apis . scaleKubernetesCluster ? .params ? .filter ( x => x . name === 'autoscalingenabled' ) . length > 0 ) {
632632 fields . splice ( 2 , 0 , 'autoscalingenabled' )
633633 }
634634 fields . push ( 'zonename' )
Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ export default {
284284 }
285285 },
286286 mounted () {
287- if (this .$store .getters .apis .scaleKubernetesCluster .params .filter (x => x .name === ' nodeids' ).length > 0 && this .resource .clustertype === ' CloudManaged' ) {
287+ if (this .$store .getters .apis .scaleKubernetesCluster ? .params ? .filter (x => x .name === ' nodeids' ).length > 0 && this .resource .clustertype === ' CloudManaged' ) {
288288 this .vmColumns .push ({
289289 key: ' actions' ,
290290 title: this .$t (' label.actions' ),
You can’t perform that action at this time.
0 commit comments