You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2020/10/28 04:40:04 UTC

[cloudstack-primate] branch master updated: network: remove the required account in creating a network (#830)

This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git


The following commit(s) were added to refs/heads/master by this push:
     new 0643d22  network: remove the required account in creating a network (#830)
0643d22 is described below

commit 0643d22da3f58386d573458a718350177befd803
Author: Hoang Nguyen <ho...@unitech.vn>
AuthorDate: Wed Oct 28 11:39:56 2020 +0700

    network: remove the required account in creating a network (#830)
---
 src/views/network/CreateIsolatedNetworkForm.vue | 6 +-----
 src/views/network/CreateL2NetworkForm.vue       | 6 +-----
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/src/views/network/CreateIsolatedNetworkForm.vue b/src/views/network/CreateIsolatedNetworkForm.vue
index 8c71469..8414086 100644
--- a/src/views/network/CreateIsolatedNetworkForm.vue
+++ b/src/views/network/CreateIsolatedNetworkForm.vue
@@ -223,11 +223,7 @@
               </a-tooltip>
             </span>
             <a-input
-              v-decorator="['account', {
-                rules: [
-                  { required: true, message: $t('label.required') }
-                ]
-              }]"
+              v-decorator="['account']"
               :placeholder="this.$t('label.account')"/>
           </a-form-item>
           <div :span="24" class="action-button">
diff --git a/src/views/network/CreateL2NetworkForm.vue b/src/views/network/CreateL2NetworkForm.vue
index 3146471..d1a6057 100644
--- a/src/views/network/CreateL2NetworkForm.vue
+++ b/src/views/network/CreateL2NetworkForm.vue
@@ -197,11 +197,7 @@
               </a-tooltip>
             </span>
             <a-input
-              v-decorator="['account', {
-                rules: [
-                  { required: true, message: $t('label.required') }
-                ]
-              }]"
+              v-decorator="['account']"
               :placeholder="this.$t('label.account')"/>
           </a-form-item>
           <div :span="24" class="action-button">