@next-core/brick-kit 2.177.0 → 2.177.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js
CHANGED
|
@@ -3332,9 +3332,11 @@ function _computeRealValueWithOverrideApp() {
|
|
|
3332
3332
|
if ("if" in data && data.if === null) {
|
|
3333
3333
|
delete data.if;
|
|
3334
3334
|
}
|
|
3335
|
-
if ("to" in data) {
|
|
3336
|
-
var
|
|
3337
|
-
|
|
3335
|
+
if ("to" in data && data.to && !isEvaluable(data.to)) {
|
|
3336
|
+
var yaml = pipes.yaml(data.to);
|
|
3337
|
+
if (isObject(yaml) && ["pathname", "search", "hash"].some(key => hasOwnProperty(yaml, key))) {
|
|
3338
|
+
data.to = yaml;
|
|
3339
|
+
}
|
|
3338
3340
|
}
|
|
3339
3341
|
var newContext = context;
|
|
3340
3342
|
if (overrideAppId !== context.app.id && attemptToVisit(data, ["APP", "I18N", "IMG"])) {
|