Skip to content

Commit d799902

Browse files
committed
fix bug
1 parent fa48266 commit d799902

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/OpenIntranet/templates/production.bom_table.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
{% if valid %}
2626
<div class="table-row" style="display: table-row;"><label class="bom_table_key">Součástka:</label><a class="bom_table_value" target="__blank__" href="/store/component/{{row['cUST_ID']}}/"> {{row['stock'][0]['name']}} </a></div>
2727
<div class="table-row" style="display: table-row;"><label class="bom_table_key">USTid:</label><span class="bom_table_value text-muted"> {{row['cUST_ID']}} </span></div>
28-
<div class="table-row" style="display: table-row;"><label class="bom_table_key">Popis:</label><span class="bom_table_value"> {{row['stock'][0].get('description', "<span class="text-muted">Není k dispozici..</span>") }} </span></div>
28+
<div class="table-row" style="display: table-row;"><label class="bom_table_key">Popis:</label><span class="bom_table_value"> {{row['stock'][0].get('description', '<span class="text-muted">Není k dispozici..</span>'') }} </span></div>
2929
{% else %}
3030
UST ID není přiřazeno
3131
{% end %}

0 commit comments

Comments
 (0)