Skip to content

Commit d06e75f

Browse files
author
Hwashiang Yu
committed
MC-18722: Customer Inline editor option error
- Resolved funtional test failures
1 parent dddd789 commit d06e75f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/web/mage/utils/template.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ define([
4040
* To limit recursion for a specific property add __disableTmpl: {propertyName: numberOfCycles}.
4141
*
4242
* @param {String} tmpl
43-
* @param {Object} target
43+
* @param {Object|undefined} target
4444
* @returns {Boolean|Object}
4545
*/
4646
function isTmplIgnored(tmpl, target) {
@@ -131,7 +131,7 @@ define([
131131
cycles = 0;
132132

133133
while (~tmpl.indexOf(opener) && (typeof maxCycles === 'undefined' || cycles < maxCycles)) {
134-
if (!isTmplIgnored(tmpl, data)) {
134+
if (!isTmplIgnored(tmpl)) {
135135
tmpl = template(tmpl, data);
136136
}
137137

0 commit comments

Comments
 (0)