@@ -996,8 +996,7 @@ export default {
996996 keyboards: [],
997997 bootTypes: [],
998998 bootModes: [],
999- ioPolicyTypes: [],
1000- dynamicScalingVmConfig: false
999+ ioPolicyTypes: []
10011000 },
10021001 rowCount: {},
10031002 loading: {
@@ -1284,13 +1283,6 @@ export default {
12841283 },
12851284 field: ' hostid'
12861285 },
1287- dynamicScalingVmConfig: {
1288- list: ' listConfigurations' ,
1289- options: {
1290- zoneid: _ .get (this .zone , ' id' ),
1291- name: ' enable.dynamic.scale.vm'
1292- }
1293- },
12941286 guestOsCategories: {
12951287 list: ' listOsCategories' ,
12961288 options: {
@@ -1449,7 +1441,7 @@ export default {
14491441 return Boolean (' listUserData' in this .$store .getters .apis )
14501442 },
14511443 dynamicScalingVmConfigValue () {
1452- return this .options . dynamicScalingVmConfig ? .[ 0 ] ? . value === ' true '
1444+ return this .$store . getters . features . dynamicscalingenabled
14531445 },
14541446 isCustomizedDiskIOPS () {
14551447 return this .diskSelected ? .iscustomizediops || false
@@ -2508,7 +2500,7 @@ export default {
25082500 param .loading = true
25092501 param .opts = []
25102502 const options = param .options || {}
2511- if (! (' listall' in options) && ! [' zones' , ' pods' , ' clusters' , ' hosts' , ' dynamicScalingVmConfig ' , ' hypervisors' ].includes (name)) {
2503+ if (! (' listall' in options) && ! [' zones' , ' pods' , ' clusters' , ' hosts' , ' hypervisors' ].includes (name)) {
25122504 options .listall = true
25132505 }
25142506 api (param .list , options).then ((response ) => {
0 commit comments