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 1b48ee7  FIX - Error when when choosing a destination VM for a PF rule 
(#684)
1b48ee7 is described below

commit 1b48ee70fddfe367c9736df5c4f4192f86954502
Author: Hoang Nguyen <[email protected]>
AuthorDate: Fri Sep 11 12:17:29 2020 +0200

    FIX - Error when when choosing a destination VM for a PF rule (#684)
    
    * remove `this` syntax on html tag
    
    * fix error loading on LoadBalancing
---
 src/views/network/LoadBalancing.vue  | 2 +-
 src/views/network/PortForwarding.vue | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/network/LoadBalancing.vue 
b/src/views/network/LoadBalancing.vue
index dd362e2..d94908a 100644
--- a/src/views/network/LoadBalancing.vue
+++ b/src/views/network/LoadBalancing.vue
@@ -340,7 +340,7 @@
               v-model="newRule.vmguestip[index]"
             >
               <a-select-option v-for="(nic, nicIndex) in nics[index]" 
:key="nic" :value="nic">
-                {{ nic }}{{ nicIndex === 0 ? ` (${this.$t('label.primary')})` 
: null }}
+                {{ nic }}{{ nicIndex === 0 ? ` (${$t('label.primary')})` : 
null }}
               </a-select-option>
             </a-select>
           </div>
diff --git a/src/views/network/PortForwarding.vue 
b/src/views/network/PortForwarding.vue
index 940b487..46ba803 100644
--- a/src/views/network/PortForwarding.vue
+++ b/src/views/network/PortForwarding.vue
@@ -211,7 +211,7 @@
               v-model="newRule.vmguestip"
             >
               <a-select-option v-for="(nic, nicIndex) in nics" :key="nic" 
:value="nic">
-                {{ nic }}{{ nicIndex === 0 ? ` (${this.$t('label.primary')})` 
: null }}
+                {{ nic }}{{ nicIndex === 0 ? ` (${$t('label.primary')})` : 
null }}
               </a-select-option>
             </a-select>
           </div>

Reply via email to