Merge branch 'release/1.5' into develop

This commit is contained in:
Lorenz Hilpert
2021-09-30 17:27:57 +02:00
3 changed files with 11 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="1px" height="1px" viewBox="0 0 1 1" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
</svg>

After

Width:  |  Height:  |  Size: 446 B

View File

@@ -12,7 +12,12 @@
<div class="detail">
<div class="label">Format</div>
<div class="value">
<img class="format-icon" [src]="'/assets/images/Icon_' + orderItem.product?.format + '.svg'" alt="format icon" />
<img
*ngIf="orderItem?.product?.format && orderItem?.product?.format !== 'UNKNOWN'"
class="format-icon"
[src]="'/assets/images/Icon_' + orderItem.product?.format + '.svg'"
alt="format icon"
/>
<span>{{ orderItem.product?.formatDetail }}</span>
</div>
</div>

View File

@@ -26,7 +26,7 @@
<div class="item-format">
<img
class="format-icon"
*ngIf="item?.product?.format"
*ngIf="item?.product?.format && item?.product?.format !== 'UNKNOWN'"
[src]="'/assets/images/Icon_' + item.product?.format + '.svg'"
[alt]="item.product?.format"
/>