Skip to content

Commit 963437d

Browse files
committed
Remove console logs from ui forms
1 parent 50aae80 commit 963437d

File tree

3 files changed

+3
-18
lines changed

3 files changed

+3
-18
lines changed

ui/src/views/compute/DeployVMFromBackup.vue

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// under the License.
1717

1818
<template>
19-
<div class="form">
19+
<div>
2020
<a-row :gutter="12">
2121
<a-col :md="24" :lg="17">
2222
<a-alert>
@@ -1382,7 +1382,7 @@ export default {
13821382
this.handleSubmit(e.domEvent)
13831383
},
13841384
handleSubmit (e) {
1385-
console.log('wizard submit')
1385+
console.log('submit')
13861386
e.preventDefault()
13871387
if (this.loading.deploy) return
13881388
this.formRef.value.validate().then(async () => {
@@ -1642,7 +1642,6 @@ export default {
16421642
}
16431643
16441644
console.log('error found')
1645-
console.log('error 6')
16461645
this.$notification.error({
16471646
message: this.$t('message.request.failed'),
16481647
description: this.$t('error.form.message')
@@ -2133,15 +2132,6 @@ export default {
21332132
</script>
21342133
21352134
<style lang="less" scoped>
2136-
.form {
2137-
width: 80vw;
2138-
2139-
@media (min-width: 500px) {
2140-
min-width: 400px;
2141-
width: 100%;
2142-
}
2143-
}
2144-
21452135
.card-footer {
21462136
text-align: right;
21472137
margin-top: 2rem;

ui/src/views/compute/wizard/VolumeDiskOfferingMap.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,6 @@ export default {
190190
this.custom[x.id] = this.diskOfferings.find(offering => offering.id === x.diskofferingid)?.iscustomized
191191
this.customIops[x.id] = this.diskOfferings.find(offering => offering.id === x.diskofferingid)?.iscustomizediops || false
192192
})
193-
console.log('a ' + JSON.stringify(this.custom, null, 2))
194-
console.log('b ' + JSON.stringify(this.customIops, null, 2))
195193
this.setDefaultValues()
196194
this.loading = false
197195
},
@@ -246,9 +244,6 @@ export default {
246244
247245
this.custom[diskId] = this.diskOfferings.find(x => x.id === value)?.iscustomized
248246
this.customIops[diskId] = this.diskOfferings.find(x => x.id === value)?.iscustomizediops || false
249-
console.log('1' + JSON.stringify(this.values, null, 2))
250-
console.log('2' + JSON.stringify(this.custom, null, 2))
251-
console.log('3' + JSON.stringify(this.customIops, null, 2))
252247
253248
this.sendValues()
254249
},

ui/src/views/storage/CreateVMFromBackup.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export default {
103103
this.$emit('close-action')
104104
},
105105
handleSubmit (e) {
106-
console.log('wizard submit')
106+
console.log('submit')
107107
e.preventDefault()
108108
const args = {}
109109
args.zoneid = this.resource.zoneid

0 commit comments

Comments
 (0)