datastake-daf 0.6.346 → 0.6.347

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.
@@ -54524,7 +54524,8 @@ function useAdminTable({
54524
54524
  loading,
54525
54525
  initFetchDone,
54526
54526
  fetchData,
54527
- fetchPendingAccounts
54527
+ fetchPendingAccounts,
54528
+ setLoading
54528
54529
  };
54529
54530
  }
54530
54531
 
@@ -56122,7 +56123,8 @@ function LocationTable(_ref) {
56122
56123
  loading,
56123
56124
  initFetchDone,
56124
56125
  fetchData,
56125
- fetchPendingAccounts
56126
+ fetchPendingAccounts,
56127
+ setLoading
56126
56128
  } = useAdminTable({
56127
56129
  goTo,
56128
56130
  location,
@@ -56224,6 +56226,7 @@ function LocationTable(_ref) {
56224
56226
  },
56225
56227
  onSuccess: data => {
56226
56228
  setCombineLocationVisible(false);
56229
+ setLoading(true);
56227
56230
  if (typeof mergeSubjectsFunction === 'function') {
56228
56231
  mergeSubjectsFunction(data);
56229
56232
  setSelectedLocations([]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datastake-daf",
3
- "version": "0.6.346",
3
+ "version": "0.6.347",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.2.5",
6
6
  "@antv/g2": "^5.1.1",
@@ -47,6 +47,7 @@ export default function LocationTable({
47
47
  initFetchDone,
48
48
  fetchData,
49
49
  fetchPendingAccounts,
50
+ setLoading,
50
51
  } = useAdminTable({
51
52
  goTo,
52
53
  location,
@@ -162,6 +163,7 @@ export default function LocationTable({
162
163
  }}
163
164
  onSuccess={(data) => {
164
165
  setCombineLocationVisible(false);
166
+ setLoading(true);
165
167
  if (typeof mergeSubjectsFunction === 'function') {
166
168
  mergeSubjectsFunction(data);
167
169
  setSelectedLocations([])
@@ -91,5 +91,6 @@ export function useAdminTable({
91
91
  initFetchDone,
92
92
  fetchData,
93
93
  fetchPendingAccounts,
94
+ setLoading,
94
95
  };
95
96
  }