Skip to content

Commit b89d2a7

Browse files
committed
addressed reviews
removed unnecessary API params
1 parent ca09591 commit b89d2a7

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

ui/src/views/compute/DeployVM.vue

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2672,9 +2672,6 @@ export default {
26722672
},
26732673
fetchUnattachedVolumes (volumeFilter, params) {
26742674
const args = Object.assign({}, params)
2675-
if (this.isModernImageSelection && this.form.guestoscategoryid) {
2676-
args.oscategoryid = this.form.guestoscategoryid
2677-
}
26782675
if (args.keyword || (args.category && args.category !== volumeFilter)) {
26792676
args.page = 1
26802677
args.pageSize = args.pageSize || 10
@@ -2686,11 +2683,7 @@ export default {
26862683
args.account = store.getters.project?.id ? null : this.owner.account
26872684
args.domainid = store.getters.project?.id ? null : this.owner.domainid
26882685
args.projectid = store.getters.project?.id || this.owner.projectid
2689-
args.volumefilter = volumeFilter
2690-
args.details = 'all'
2691-
args.showicon = 'true'
26922686
args.id = this.queryVolumeId
2693-
args.isvnf = false
26942687
args.state = 'Ready'
26952688
const pageSize = args.pageSize ? args.pageSize : 10
26962689
const pageStart = (args.page ? args.page - 1 : 0) * pageSize
@@ -2721,9 +2714,6 @@ export default {
27212714
},
27222715
fetchRootSnapshots (snapshotFilter, params) {
27232716
const args = Object.assign({}, params)
2724-
if (this.isModernImageSelection && this.form.guestoscategoryid) {
2725-
args.oscategoryid = this.form.guestoscategoryid
2726-
}
27272717
if (args.keyword || (args.category && args.category !== snapshotFilter)) {
27282718
args.page = 1
27292719
args.pageSize = args.pageSize || 10
@@ -2735,10 +2725,6 @@ export default {
27352725
args.account = store.getters.project?.id ? null : this.owner.account
27362726
args.domainid = store.getters.project?.id ? null : this.owner.domainid
27372727
args.projectid = store.getters.project?.id || this.owner.projectid
2738-
args.snapshotfilter = snapshotFilter
2739-
args.details = 'all'
2740-
args.showicon = 'true'
2741-
args.isvnf = false
27422728
const pageSize = args.pageSize ? args.pageSize : 10
27432729
const pageStart = (args.page ? args.page - 1 : 0) * pageSize
27442730
const pageEnd = pageSize * (pageStart + 1)

0 commit comments

Comments
 (0)