This commit is contained in:
crusader 2018-10-23 14:28:22 +09:00
parent e83b652cfe
commit 0805e19f6a
3 changed files with 7 additions and 7 deletions

View File

@ -57,10 +57,10 @@
</div> </div>
</p-tabPanel> </p-tabPanel>
<p-tabPanel [header]="'infra.detail.title.metadata' | translate" *ngIf="host.meta"> <p-tabPanel [header]="'infra.detail.title.metadata' | translate">
<div of-auto-height key="1"> <div of-auto-height key="1">
<perfect-scrollbar> <perfect-scrollbar>
<ul class="detail-content-meta-title"> <ul class="detail-content-meta-title" *ngIf="host.meta">
<li *ngFor="let key of host.meta | objectKeys"> <li *ngFor="let key of host.meta | objectKeys">
{{key | stringPrettify}} {{key | stringPrettify}}
<ul class="key-value"> <ul class="key-value">
@ -75,10 +75,10 @@
</div> </div>
</p-tabPanel> </p-tabPanel>
<p-tabPanel [header]="'infra.detail.title.ports' | translate" *ngIf="host.portList"> <p-tabPanel [header]="'infra.detail.title.ports' | translate">
<div of-auto-height key="2"> <div of-auto-height key="2">
<perfect-scrollbar> <perfect-scrollbar>
<ul class="key-value"> <ul class="key-value" *ngIf="host.portList">
<li *ngFor="let port of host.portList | sort: 'portNumber'"> <li *ngFor="let port of host.portList | sort: 'portNumber'">
<span class="meta-value">{{port.portNumber}} ({{port.metaPortType.key}})</span> <span class="meta-value">{{port.portNumber}} ({{port.metaPortType.key}})</span>
</li> </li>

View File

@ -65,10 +65,10 @@
</p-tabPanel> </p-tabPanel>
<p-tabPanel [header]="'infra.detail.title.metadata' | translate" *ngIf="service.meta"> <p-tabPanel [header]="'infra.detail.title.metadata' | translate">
<div of-auto-height key="1"> <div of-auto-height key="1">
<perfect-scrollbar> <perfect-scrollbar>
<ul class="detail-content-meta-title"> <ul class="detail-content-meta-title" *ngIf="service.meta">
<li *ngFor="let key of service.meta | objectKeys"> <li *ngFor="let key of service.meta | objectKeys">
{{key | stringPrettify}} {{key | stringPrettify}}