@hmcts/ccd-case-ui-toolkit 7.3.54-pofcc-131 → 7.3.54-pofcc-214-v1

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.
@@ -1264,12 +1264,6 @@ class AbstractAppConfig {
1264
1264
  return 'ithc';
1265
1265
  return 'prod';
1266
1266
  }
1267
- getWASupportedRoleCategories() {
1268
- return [];
1269
- }
1270
- getWASupportedRoleTypes() {
1271
- return [];
1272
- }
1273
1267
  getCamRoleAssignmentsApiUrl() {
1274
1268
  return undefined;
1275
1269
  }
@@ -1326,8 +1320,6 @@ class CaseEditorConfig {
1326
1320
  icp_jurisdictions;
1327
1321
  events_to_hide;
1328
1322
  enable_service_specific_multi_followups;
1329
- wa_supported_role_categories;
1330
- wa_supported_role_types;
1331
1323
  }
1332
1324
 
1333
1325
  class HttpError {
@@ -9986,7 +9978,7 @@ class CaseEditComponent {
9986
9978
  return of(true);
9987
9979
  }
9988
9980
  finishEventCompletionLogic(eventResponse) {
9989
- this.caseNotifier.cachedCaseView = null;
9981
+ this.caseNotifier.removeCachedCase();
9990
9982
  this.sessionStorageService.removeItem('eventUrl');
9991
9983
  const confirmation = this.buildConfirmation(eventResponse);
9992
9984
  if (confirmation && (confirmation.getHeader() || confirmation.getBody())) {
@@ -11821,6 +11813,8 @@ class CaseEditPageComponent {
11821
11813
  else {
11822
11814
  this.caseEdit.cancelled.emit();
11823
11815
  }
11816
+ // clear CaseView cache to allow any incidental changes to get picked up once the edit has cancelled
11817
+ this.caseEdit.caseNotifier.removeCachedCase();
11824
11818
  this.caseEditDataService.clearFormValidationErrors();
11825
11819
  this.multipageComponentStateService.reset();
11826
11820
  }