@gravity-ui/dashkit 8.19.0 → 8.19.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.
|
@@ -107,7 +107,7 @@ class OverlayControls extends react_1.default.Component {
|
|
|
107
107
|
}
|
|
108
108
|
const getPreparedCopyItemOptions = (_d = (_c = this.context) === null || _c === void 0 ? void 0 : _c.getPreparedCopyItemOptions) !== null && _d !== void 0 ? _d : (_e = this.context.context) === null || _e === void 0 ? void 0 : _e.getPreparedCopyItemOptions;
|
|
109
109
|
if (typeof getPreparedCopyItemOptions === 'function') {
|
|
110
|
-
options =
|
|
110
|
+
options = getPreparedCopyItemOptions(options);
|
|
111
111
|
}
|
|
112
112
|
try {
|
|
113
113
|
localStorage.setItem(constants_1.COPIED_WIDGET_STORE_KEY, JSON.stringify(options));
|
|
@@ -104,7 +104,7 @@ class OverlayControls extends React.Component {
|
|
|
104
104
|
}
|
|
105
105
|
const getPreparedCopyItemOptions = (_d = (_c = this.context) === null || _c === void 0 ? void 0 : _c.getPreparedCopyItemOptions) !== null && _d !== void 0 ? _d : (_e = this.context.context) === null || _e === void 0 ? void 0 : _e.getPreparedCopyItemOptions;
|
|
106
106
|
if (typeof getPreparedCopyItemOptions === 'function') {
|
|
107
|
-
options =
|
|
107
|
+
options = getPreparedCopyItemOptions(options);
|
|
108
108
|
}
|
|
109
109
|
try {
|
|
110
110
|
localStorage.setItem(COPIED_WIDGET_STORE_KEY, JSON.stringify(options));
|