Skip to content
Snippets Groups Projects
Commit 37221e98 authored by Natalia Momotenko's avatar Natalia Momotenko
Browse files

Merge remote-tracking branch 'origin/MAGETWO-44282' into PR-2

parents a626f84c 3239df43
No related merge requests found
...@@ -80,7 +80,10 @@ ...@@ -80,7 +80,10 @@
<!-- ko if: (isCcDetectionEnabled())--> <!-- ko if: (isCcDetectionEnabled())-->
<ul class="credit-card-types"> <ul class="credit-card-types">
<!-- ko foreach: {data: getCcAvailableTypesValues(), as: 'item'} --> <!-- ko foreach: {data: getCcAvailableTypesValues(), as: 'item'} -->
<li class="item" data-bind="css: {_active: $parent.selectedCardType() == item.value} "> <li class="item" data-bind="css: {
_active: $parent.selectedCardType() == item.value,
_inactive: $parent.selectedCardType() != null && $parent.selectedCardType() != item.value
} ">
<!--ko if: $parent.getIcons(item.value) --> <!--ko if: $parent.getIcons(item.value) -->
<img data-bind="attr: { <img data-bind="attr: {
'src': $parent.getIcons(item.value).url, 'src': $parent.getIcons(item.value).url,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment