summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/services/onboard-vnf-vm
diff options
context:
space:
mode:
authorzhangab <zhanganbing@chinamobile.com>2018-11-26 14:45:45 +0800
committerzhangab <zhanganbing@chinamobile.com>2018-11-26 14:45:55 +0800
commitcf3ff535762773ab21d1dbbbccb76f16333dcf46 (patch)
tree6f7a4c7b3f99a34e30e8f3ff03b196927ea6d0bc /usecaseui-portal/src/app/services/onboard-vnf-vm
parent87374174d78e927f6104062d8fa9d66b315e6e73 (diff)
Support NS Package Upload for VF-C
Change-Id: Icae4c74056a402d8b34f5b1051f071e8122b3e1d Issue-ID: USECASEUI-156 Signed-off-by: zhangab <zhanganbing@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/services/onboard-vnf-vm')
-rw-r--r--usecaseui-portal/src/app/services/onboard-vnf-vm/onboard-vnf-vm.component.html15
1 files changed, 8 insertions, 7 deletions
diff --git a/usecaseui-portal/src/app/services/onboard-vnf-vm/onboard-vnf-vm.component.html b/usecaseui-portal/src/app/services/onboard-vnf-vm/onboard-vnf-vm.component.html
index b6c92e7a..09281d4b 100644
--- a/usecaseui-portal/src/app/services/onboard-vnf-vm/onboard-vnf-vm.component.html
+++ b/usecaseui-portal/src/app/services/onboard-vnf-vm/onboard-vnf-vm.component.html
@@ -51,15 +51,16 @@
<td *ngIf="item.uuid">{{item.uuid}}</td>
<td *ngIf="item.nsdName">{{item.nsdName}}</td>
- <td *ngIf="item.nsdName === null">无</td>
+ <td *ngIf="item.nsdName === null || item.nsdName === ''">&nbsp;</td>
<td *ngIf="item.name">{{item.name}}</td>
- <td *ngIf="item.name===null">无</td>
+ <td *ngIf="item.name===null || item.name=== ''">&nbsp;</td>
<td *ngIf="item.nsdVersion">{{item.nsdVersion}}</td>
- <td *ngIf="item.nsdVersion === null">无</td>
- <td *ngIf="item.version">{{ item.version }}</td>
+ <td *ngIf="item.nsdVersion === null || item.nsdVersion === ''">&nbsp;</td>
+ <td *ngIf="item.version">{{item.version}}</td>
+ <td *ngIf="item.version === null || item.version === ''">&nbsp;</td>
<td>
<span *ngIf="item.nsdOnboardingState">{{item.nsdOnboardingState}}</span>
- <span *ngIf="item.nsdOnboardingState === null">无</span>
+ <span *ngIf="item.nsdOnboardingState === null || item.nsdOnboardingState === ''">&nbsp;</span>
<span *ngIf="item.uuid">{{status}}</span>
<!-- <span *ngIf="item.uuid" [ngClass]="{'active':data.status=='Active','closed':data.status=='Closed','onboarding':data.status=='Onboarding',
@@ -119,10 +120,10 @@
<td *ngIf="item.id">{{item.id}}</td>
<td *ngIf="item.uuid">{{item.uuid}}</td>
<td *ngIf="item.vnfProductName">{{item.vnfProductName}}</td>
- <td *ngIf="item.vnfProductName === null">无</td>
+ <td *ngIf="item.vnfProductName === null || item.vnfProductName === ''">&nbsp;</td>
<td *ngIf="item.name">{{item.name}}</td>
<td *ngIf="item.vnfdVersion">{{item.vnfdVersion}}</td>
- <td *ngIf="item.vnfdVersion === null">无</td>
+ <td *ngIf="item.vnfdVersion === null || item.vnfdVersion === ''">&nbsp;</td>
<td *ngIf="item.version">{{item.version}}</td>
<td>{{item.onboardingState}}</td>
<td>{{item.usageState}}</td>