@gravity-ui/dashkit 8.7.2 → 8.8.0
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.
|
@@ -224,7 +224,7 @@ class GridLayout extends react_1.default.PureComponent {
|
|
|
224
224
|
this.renderTemporaryPlaceholder()));
|
|
225
225
|
}
|
|
226
226
|
render() {
|
|
227
|
-
const { config, groups, editMode } = this.context;
|
|
227
|
+
const { config, groups, editMode, context } = this.context;
|
|
228
228
|
this.pluginsRefs.length = config.items.length;
|
|
229
229
|
const defaultRenderLayout = [];
|
|
230
230
|
const defaultRenderItems = [];
|
|
@@ -276,6 +276,7 @@ class GridLayout extends react_1.default.PureComponent {
|
|
|
276
276
|
editMode,
|
|
277
277
|
items,
|
|
278
278
|
layout,
|
|
279
|
+
context,
|
|
279
280
|
});
|
|
280
281
|
}
|
|
281
282
|
return element;
|
|
@@ -221,7 +221,7 @@ class GridLayout extends React.PureComponent {
|
|
|
221
221
|
this.renderTemporaryPlaceholder()));
|
|
222
222
|
}
|
|
223
223
|
render() {
|
|
224
|
-
const { config, groups, editMode } = this.context;
|
|
224
|
+
const { config, groups, editMode, context } = this.context;
|
|
225
225
|
this.pluginsRefs.length = config.items.length;
|
|
226
226
|
const defaultRenderLayout = [];
|
|
227
227
|
const defaultRenderItems = [];
|
|
@@ -273,6 +273,7 @@ class GridLayout extends React.PureComponent {
|
|
|
273
273
|
editMode,
|
|
274
274
|
items,
|
|
275
275
|
layout,
|
|
276
|
+
context,
|
|
276
277
|
});
|
|
277
278
|
}
|
|
278
279
|
return element;
|