Skip to content

Commit febabea

Browse files
author
Hwashiang Yu
committed
MC-18721: Customer Inline editor option error
- Resolved funtional test failures
1 parent 7ade44e commit febabea

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) {
@@ -136,7 +136,7 @@ define([
136136
cycles = 0;
137137

138138
while (~tmpl.indexOf(opener) && (typeof maxCycles === 'undefined' || cycles < maxCycles)) {
139-
if (!isTmplIgnored(tmpl, data)) {
139+
if (!isTmplIgnored(tmpl)) {
140140
tmpl = template(tmpl, data);
141141
}
142142

0 commit comments

Comments
 (0)