@overmap-ai/core 1.0.35-projects-licensing.13 → 1.0.35-projects-licensing.14

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.
@@ -4879,7 +4879,7 @@ class IssueService extends BaseApiService {
4879
4879
  });
4880
4880
  }
4881
4881
  store.dispatch(removeIssue(issuePayload.offline_id));
4882
- store.dispatch(store.dispatch(updateActiveProjectIssuesCount(-1)));
4882
+ store.dispatch(updateActiveProjectIssuesCount(-1));
4883
4883
  throw error2;
4884
4884
  });
4885
4885
  return [issuePayload, promise];
@@ -5688,11 +5688,11 @@ class UserFormSubmissionService extends BaseApiService {
5688
5688
  store.dispatch(addUserFormSubmission(offlineResultWithoutFiles));
5689
5689
  void promise.then((result) => {
5690
5690
  store.dispatch(addUserFormSubmission(result));
5691
- store.dispatch(store.dispatch(updateActiveProjectFormSubmissionsCount(1)));
5691
+ store.dispatch(updateActiveProjectFormSubmissionsCount(1));
5692
5692
  return result;
5693
5693
  }).catch(() => {
5694
5694
  store.dispatch(deleteUserFormSubmission(payload.offline_id));
5695
- store.dispatch(store.dispatch(updateActiveProjectFormSubmissionsCount(-1)));
5695
+ store.dispatch(updateActiveProjectFormSubmissionsCount(-1));
5696
5696
  });
5697
5697
  const settledPromise = Promise.all([promise, ...attachFilesPromises]).then(() => promise);
5698
5698
  return [fullOfflineResult, settledPromise];
@@ -5714,7 +5714,7 @@ class UserFormSubmissionService extends BaseApiService {
5714
5714
  } catch (e) {
5715
5715
  if (submission) {
5716
5716
  store.dispatch(addUserFormSubmission(submission));
5717
- store.dispatch(store.dispatch(updateActiveProjectFormSubmissionsCount(1)));
5717
+ store.dispatch(updateActiveProjectFormSubmissionsCount(1));
5718
5718
  }
5719
5719
  throw e;
5720
5720
  }