cat-documents-ng 0.3.3 → 0.3.4
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.
|
@@ -313,6 +313,7 @@ class SHARED {
|
|
|
313
313
|
static TEAM_LEADER = 'TeamLeader';
|
|
314
314
|
static UNDERWRITER_USER = 'Underwriter User';
|
|
315
315
|
static INITIAL_REQUEST = 'Initial Request';
|
|
316
|
+
static REFRESH_TRIGGER = 'refreshTrigger';
|
|
316
317
|
static Menu = [
|
|
317
318
|
{
|
|
318
319
|
label: 'Applicant',
|
|
@@ -6833,7 +6834,7 @@ class DocumentContainerComponent {
|
|
|
6833
6834
|
documentQuery;
|
|
6834
6835
|
documentStore;
|
|
6835
6836
|
documentMenuService;
|
|
6836
|
-
refreshTrigger;
|
|
6837
|
+
refreshTrigger = SHARED.INITIAL_VALUE;
|
|
6837
6838
|
/**
|
|
6838
6839
|
* The document list response data
|
|
6839
6840
|
* @type {DocumentListResponse[] | null}
|
|
@@ -6905,6 +6906,10 @@ class DocumentContainerComponent {
|
|
|
6905
6906
|
if (changes[SHARED.CONTEXT_ID] && !changes[SHARED.CONTEXT_ID].firstChange) {
|
|
6906
6907
|
this.handleContextIdChange();
|
|
6907
6908
|
}
|
|
6909
|
+
if (changes[SHARED.REFRESH_TRIGGER] && changes[SHARED.REFRESH_TRIGGER].currentValue !== SHARED.INITIAL_VALUE && !changes[SHARED.REFRESH_TRIGGER].firstChange) {
|
|
6910
|
+
this.clearAllState();
|
|
6911
|
+
this.initializeData();
|
|
6912
|
+
}
|
|
6908
6913
|
}
|
|
6909
6914
|
/**
|
|
6910
6915
|
* Initializes the component
|