From 8e870f6b586114463f0ae8ae85514cab83be2728 Mon Sep 17 00:00:00 2001 From: Hoang Nguyen Date: Mon, 21 Sep 2020 18:31:23 +0700 Subject: [PATCH] Add CIDR next to the network name (#729) Signed-off-by: Rohit Yadav --- ui/src/views/compute/DeployVM.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ui/src/views/compute/DeployVM.vue b/ui/src/views/compute/DeployVM.vue index 15e31ec7705..a4b42bfaa60 100644 --- a/ui/src/views/compute/DeployVM.vue +++ b/ui/src/views/compute/DeployVM.vue @@ -277,11 +277,14 @@ ]" :placeholder="nic.networkDescription" :filterOption="(input, option) => { - return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0 + return option.componentOptions.children[0].children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0 }" > - {{ opt.name || opt.description }} + + {{ opt.name || opt.description }} ({{ `${$t('label.cidr')}: ${opt.cidr}` }}) + + {{ opt.name || opt.description }}