FIX - Error when when choosing a destination VM for a PF rule (#684)

* remove `this` syntax on html tag

* fix error loading on LoadBalancing

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Hoang Nguyen 2020-09-11 12:17:29 +02:00 committed by Rohit Yadav
parent 925a848c3a
commit 0e4e80224d
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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>