We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9239cd3 commit fcee1dbCopy full SHA for fcee1db
1 file changed
packages/devextreme/js/__internal/core/utils/m_data.ts
@@ -139,23 +139,13 @@ function combineGetters(getters) {
139
140
for (let i = 0; i < last; i++) {
141
const pathItem = path[i];
142
- if (isUnsafePathFragment(pathItem)) {
143
- errors.log('E0123', pathItem);
144
- return;
145
- }
146
if (!(pathItem in current)) {
147
current[pathItem] = { };
148
}
149
current = current[pathItem];
150
151
152
- const lastPathItem = path[last];
153
- if (isUnsafePathFragment(lastPathItem)) {
154
- errors.log('E0123', lastPathItem);
155
156
157
-
158
- current[lastPathItem] = value;
+ current[path[last]] = value;
159
});
160
return result;
161
};
0 commit comments