tuain-ng-forms-lib 0.12.13 → 0.12.14
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/bundles/tuain-ng-forms-lib.umd.js +4 -7
- package/bundles/tuain-ng-forms-lib.umd.js.map +1 -1
- package/esm2015/lib/components/forms/basic-form.js +3 -7
- package/esm2015/lib/services/form-manager.service.js +3 -2
- package/fesm2015/tuain-ng-forms-lib.js +4 -7
- package/fesm2015/tuain-ng-forms-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -3068,7 +3068,8 @@
|
|
|
3068
3068
|
return;
|
|
3069
3069
|
}
|
|
3070
3070
|
var _a = prevForm.origin, url = _a.url, params = _a.params, token = _a.token;
|
|
3071
|
-
var navigationArray = __spreadArray(
|
|
3071
|
+
var navigationArray = __spreadArray([url], __read(params));
|
|
3072
|
+
token && navigationArray.push(token);
|
|
3072
3073
|
this.goToRoute(navigationArray);
|
|
3073
3074
|
};
|
|
3074
3075
|
return LibFormManagerService;
|
|
@@ -3322,12 +3323,8 @@
|
|
|
3322
3323
|
var origin = null;
|
|
3323
3324
|
var cleanStack = (_a = options === null || options === void 0 ? void 0 : options.cleanStack) !== null && _a !== void 0 ? _a : false;
|
|
3324
3325
|
var params = [];
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
}
|
|
3328
|
-
if (this.formSubject) {
|
|
3329
|
-
params.push(this.formSubject);
|
|
3330
|
-
}
|
|
3326
|
+
this.currentState && params.push(this.currentState);
|
|
3327
|
+
this.formSubject && params.push(this.formSubject);
|
|
3331
3328
|
if (!cleanStack) {
|
|
3332
3329
|
origin = {
|
|
3333
3330
|
code: this.name,
|