fix(ivy): local refs in View and Content Queries should be pulled out into consts in generated code (#26240)
PR Close #26240
This commit is contained in:

committed by
Jason Aden

parent
d1b7bb52e7
commit
d5e9405d4f
@ -112,7 +112,7 @@ export function getQueryPredicate(
|
||||
const selectors = selector.split(',').map(token => o.literal(token.trim()));
|
||||
predicate.push(...selectors);
|
||||
});
|
||||
return constantPool.getConstLiteral(o.literalArr(predicate));
|
||||
return constantPool.getConstLiteral(o.literalArr(predicate), true);
|
||||
} else {
|
||||
return query.predicate;
|
||||
}
|
||||
|
Reference in New Issue
Block a user