Skip to content

Commit 0b0971d

Browse files
committed
Removed publish event CASE_ATTACHMENTS_UPDATED_FROM_CASEVIEW
1 parent 98aa453 commit 0b0971d

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

packages/angular-sdk-components/src/lib/_components/template/case-view/case-view.component.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ export class CaseViewComponent implements OnInit, OnDestroy {
4949
caseSummaryPConn$: any;
5050
currentCaseID = '';
5151
editAction: boolean;
52-
bHasNewAttachments = false;
5352
localizedVal: any;
5453
localeCategory = 'CaseView';
5554
localeKey: string;
@@ -113,14 +112,6 @@ export class CaseViewComponent implements OnInit, OnDestroy {
113112

114113
updateHeaderAndSummary() {
115114
this.configProps$ = this.pConn$.resolveConfigProps(this.pConn$.getConfigProps()) as CaseViewProps;
116-
const hasNewAttachments = this.pConn$.getDataObject().caseInfo?.hasNewAttachments;
117-
118-
if (hasNewAttachments !== this.bHasNewAttachments) {
119-
this.bHasNewAttachments = hasNewAttachments;
120-
if (this.bHasNewAttachments) {
121-
PCore.getPubSubUtils().publish(PCore.getEvents().getCaseEvent().CASE_ATTACHMENTS_UPDATED_FROM_CASEVIEW, true);
122-
}
123-
}
124115

125116
const kids = this.pConn$.getChildren() as any[];
126117
for (const kid of kids) {

0 commit comments

Comments
 (0)