@@ -944,8 +944,7 @@ export default {
944944 keyboards: [],
945945 bootTypes: [],
946946 bootModes: [],
947- ioPolicyTypes: [],
948- dynamicScalingVmConfig: false
947+ ioPolicyTypes: []
949948 },
950949 rowCount: {},
951950 loading: {
@@ -1175,13 +1174,6 @@ export default {
11751174 type: ' Routing'
11761175 },
11771176 field: ' hostid'
1178- },
1179- dynamicScalingVmConfig: {
1180- list: ' listConfigurations' ,
1181- options: {
1182- zoneid: _ .get (this .zone , ' id' ),
1183- name: ' enable.dynamic.scale.vm'
1184- }
11851177 }
11861178 }
11871179 },
@@ -1312,7 +1304,7 @@ export default {
13121304 return Boolean (' listUserData' in this .$store .getters .apis )
13131305 },
13141306 dynamicScalingVmConfigValue () {
1315- return this .options . dynamicScalingVmConfig ? .[ 0 ] ? . value === ' true '
1307+ return this .$store . getters . features . dynamicscalingenabled
13161308 },
13171309 isCustomizedDiskIOPS () {
13181310 return this .diskSelected ? .iscustomizediops || false
@@ -2215,7 +2207,7 @@ export default {
22152207 param .loading = true
22162208 param .opts = []
22172209 const options = param .options || {}
2218- if (! (' listall' in options) && ! [' zones' , ' pods' , ' clusters' , ' hosts' , ' dynamicScalingVmConfig ' , ' hypervisors' ].includes (name)) {
2210+ if (! (' listall' in options) && ! [' zones' , ' pods' , ' clusters' , ' hosts' , ' hypervisors' ].includes (name)) {
22192211 options .listall = true
22202212 }
22212213 api (param .list , options).then ((response ) => {
0 commit comments