datastake-daf 0.6.341 → 0.6.342

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.
@@ -56221,7 +56221,9 @@ function LocationTable(_ref) {
56221
56221
  },
56222
56222
  onSuccess: data => {
56223
56223
  setCombineLocationVisible(false);
56224
- mergeSubjectsFunction(data);
56224
+ if (typeof mergeSubjectsFunction === 'function') {
56225
+ mergeSubjectsFunction(data);
56226
+ }
56225
56227
  },
56226
56228
  selectedLocations: selectedLocations,
56227
56229
  selectOptions: selectOptions || {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datastake-daf",
3
- "version": "0.6.341",
3
+ "version": "0.6.342",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.2.5",
6
6
  "@antv/g2": "^5.1.1",
@@ -160,7 +160,9 @@ export default function LocationTable({
160
160
  }}
161
161
  onSuccess={(data) => {
162
162
  setCombineLocationVisible(false);
163
- mergeSubjectsFunction(data);
163
+ if (typeof mergeSubjectsFunction === 'function') {
164
+ mergeSubjectsFunction(data);
165
+ }
164
166
  }}
165
167
  selectedLocations={selectedLocations}
166
168
  selectOptions={selectOptions || {}}