Skip to content

Commit 0df3ea2

Browse files
authored
ENGCOM-5684: Resolved File type custom option value not showing properly in minicart #24237
2 parents 8412a43 + 8e48473 commit 0df3ea2

File tree

1 file changed

+4
-1
lines changed
  • app/code/Magento/Checkout/view/frontend/web/template/minicart/item

1 file changed

+4
-1
lines changed

app/code/Magento/Checkout/view/frontend/web/template/minicart/item/default.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@
4444
<!-- ko if: Array.isArray(option.value) -->
4545
<span data-bind="html: option.value.join('<br>')"></span>
4646
<!-- /ko -->
47-
<!-- ko ifnot: Array.isArray(option.value) -->
47+
<!-- ko if: (!Array.isArray(option.value) && option.option_type == 'file') -->
48+
<span data-bind="html: option.value"></span>
49+
<!-- /ko -->
50+
<!-- ko if: (!Array.isArray(option.value) && option.option_type != 'file') -->
4851
<span data-bind="text: option.value"></span>
4952
<!-- /ko -->
5053
</dd>

0 commit comments

Comments
 (0)