common-header-lib 0.0.2 → 0.0.3
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.
- package/esm2020/lib/common-header-lib.component.mjs +3 -3
- package/esm2020/lib/services/http/http-common.service.mjs +3 -3
- package/fesm2015/common-header-lib.mjs +4 -4
- package/fesm2015/common-header-lib.mjs.map +1 -1
- package/fesm2020/common-header-lib.mjs +4 -4
- package/fesm2020/common-header-lib.mjs.map +1 -1
- package/lib/services/http/http-common.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -931,8 +931,8 @@ class HttpCommonService {
|
|
|
931
931
|
.post(`${GlobalConstants.baseURL}${this.workflowAPIUrl}GetWorkFlowTicketCountEventWise`, userDetails)
|
|
932
932
|
.pipe(map$1((response) => {
|
|
933
933
|
if (response && response[0]['Success']) {
|
|
934
|
-
|
|
935
|
-
return [];
|
|
934
|
+
return response[0]['Data'];
|
|
935
|
+
// return [];
|
|
936
936
|
}
|
|
937
937
|
else {
|
|
938
938
|
return [];
|
|
@@ -3570,6 +3570,7 @@ class CommonHeaderLibComponent {
|
|
|
3570
3570
|
this.userNotificationCount = '';
|
|
3571
3571
|
}
|
|
3572
3572
|
this.eventwiseNotificationCount = data['events'];
|
|
3573
|
+
console.log('1:', this.eventwiseNotificationCount);
|
|
3573
3574
|
}
|
|
3574
3575
|
});
|
|
3575
3576
|
this.listenToTimeZoneConfig();
|
|
@@ -3617,9 +3618,7 @@ class CommonHeaderLibComponent {
|
|
|
3617
3618
|
OpenNotificationModal() {
|
|
3618
3619
|
// const modalRef = this.modalService.open(NotificationSidebarComponent);
|
|
3619
3620
|
// modalRef.componentInstance.lesson = lesson;
|
|
3620
|
-
console.log('n1');
|
|
3621
3621
|
this.bsModalInstance?.show();
|
|
3622
|
-
console.log('n2');
|
|
3623
3622
|
}
|
|
3624
3623
|
closeModal() {
|
|
3625
3624
|
this.bsModalInstance?.hide();
|
|
@@ -3858,6 +3857,7 @@ class CommonHeaderLibComponent {
|
|
|
3858
3857
|
next: (data) => {
|
|
3859
3858
|
this.isErrorFound = data.length == 0;
|
|
3860
3859
|
this.eventwiseNotificationCount = data;
|
|
3860
|
+
console.log('2:', this.eventwiseNotificationCount);
|
|
3861
3861
|
},
|
|
3862
3862
|
error: () => {
|
|
3863
3863
|
this.isErrorFound = true;
|