@wavemaker/app-ng-runtime 11.4.2-rc.5379 → 11.4.3-next.25757
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.
- app-ng-runtime/components/input/default/bundles/index.umd.js +1 -3
- app-ng-runtime/components/input/default/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/input/default/esm2015/base-form-custom.component.js +2 -4
- app-ng-runtime/components/input/default/fesm2015/index.js +1 -3
- app-ng-runtime/components/input/default/fesm2015/index.js.map +1 -1
- app-ng-runtime/core/bundles/index.umd.js +3 -1
- app-ng-runtime/core/bundles/index.umd.js.map +1 -1
- app-ng-runtime/core/esm2015/services/state-persistence.service.js +4 -2
- app-ng-runtime/core/fesm2015/index.js +3 -1
- app-ng-runtime/core/fesm2015/index.js.map +1 -1
- app-ng-runtime/package.json +1 -1
|
@@ -5187,7 +5187,9 @@
|
|
|
5187
5187
|
if (!_.get(parsedObj, [stateParam]) && !_.get(parsedObj, key)) {
|
|
5188
5188
|
return;
|
|
5189
5189
|
}
|
|
5190
|
-
|
|
5190
|
+
// Fix for [WMS-24698]: when table is inside a prefab, state persistence key is like "TestLabel_11.TestLabel_1.staticVariable1Table1"
|
|
5191
|
+
// _.get(parsedObj, stateParam + '.' + key) is undefined so using (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key]) condition.
|
|
5192
|
+
if (_.get(parsedObj, stateParam + '.' + key) || (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key])) {
|
|
5191
5193
|
if (subParam) {
|
|
5192
5194
|
delete parsedObj[stateParam][key][subParam];
|
|
5193
5195
|
}
|