This commit is contained in:
crusader 2018-09-20 22:27:56 +09:00
parent 884fbcd36d
commit e87d591b46

View File

@ -11,8 +11,8 @@
</svg> -->
<svg width="140" height="140" viewBox="20 10 140 140">
<image x="-10" y="-5" width="200" height="200" preserveAspectRatio="xMidYMid slice" attr.xlink:href="../../assets/image/icon/icon_{{host.hostType | lowercase}}.svg" />
<image *ngIf="host.hostType === 'HOST'" x="-10" y="-5" width="200" height="200" preserveAspectRatio="xMidYMid slice"
attr.xlink:href="../../assets/image/logo/logo_{{host.osType | lowercase}}.svg" />
<image *ngIf="host.hostType === 'HOST' && host.osType !== 'UNKNOWN'" x="-10" y="-5" width="200" height="200"
preserveAspectRatio="xMidYMid slice" attr.xlink:href="../../assets/image/logo/logo_{{host.osType | lowercase}}.svg" />
</svg>
</div>
<h3>{{host.name}} <span>{{host.address}}</span></h3>