Skip to content

Commit

Permalink
Updated rain package & removed the logs added
Browse files Browse the repository at this point in the history
  • Loading branch information
NandiniAV committed Jun 21, 2022
1 parent 54b48fd commit 4ee6b2b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 25 deletions.
10 changes: 5 additions & 5 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
],
"optimization": true,
"outputHashing": "all",
"sourceMap": true,
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
Expand All @@ -127,7 +127,7 @@
],
"optimization": true,
"outputHashing": "all",
"sourceMap": true,
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
Expand All @@ -153,7 +153,7 @@
],
"optimization": true,
"outputHashing": "all",
"sourceMap": true,
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
Expand All @@ -179,7 +179,7 @@
],
"optimization": true,
"outputHashing": "all",
"sourceMap": true,
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
Expand All @@ -205,7 +205,7 @@
],
"optimization": true,
"outputHashing": "all",
"sourceMap": true,
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@project-sunbird/telemetry-sdk": "0.0.26",
"@sunbird-cb/collection": "1.0.13",
"@sunbird-cb/design-system": "0.0.1",
"@sunbird-cb/rain-dashboards": "^0.2.2",
"@sunbird-cb/rain-dashboards": "^0.2.3",
"@sunbird-cb/resolver": "^1.0.0",
"@sunbird-cb/utils": "^1.0.12",
"@types/file-saver": "^2.0.1",
Expand Down Expand Up @@ -136,4 +136,4 @@
"typescript-tslint-plugin": "^0.5.4",
"webpack-bundle-analyzer": "^4.4.0"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,9 @@ export class ListEventComponent implements OnInit, AfterViewInit, OnDestroy {
this.currentUser = this.configSvc.userProfile && this.configSvc.userProfile.userId
this.department = this.configSvc.userProfile && this.configSvc.userProfile.departmentName
this.departmentID = this.configSvc.userProfile && this.configSvc.userProfile.rootOrgId
// tslint:disable-next-line:no-console
console.log('departmentID', this.departmentID)
} else {
if (_.get(this.activeRoute, 'snapshot.data.configService.userProfile.rootOrgId')) {
this.departmentID = _.get(this.activeRoute, 'snapshot.data.configService.userProfile.rootOrgId')
// tslint:disable-next-line:no-console
console.log('departmentID', this.departmentID)
}
if (_.get(this.activeRoute, 'snapshot.data.configService.userProfile.departmentName')) {
this.department = _.get(this.activeRoute, 'snapshot.data.configService.userProfile.departmentName')
Expand Down Expand Up @@ -107,8 +103,6 @@ export class ListEventComponent implements OnInit, AfterViewInit, OnDestroy {
}

this.eventSvc.getEventsList(requestObj).subscribe((events: any) => {
// tslint:disable-next-line:no-console
console.log('events', events)
this.setEventListData(events)
})
}
Expand Down Expand Up @@ -143,8 +137,6 @@ export class ListEventComponent implements OnInit, AfterViewInit, OnDestroy {
}
const isPast = this.compareDate(expiryDateFormat);
(isPast) ? this.eventData['pastEvents'].push(eventDataObj) : this.eventData['upcomingEvents'].push(eventDataObj)
// tslint:disable-next-line:no-console
console.log('eventDataObj', eventDataObj)
}
})
this.filter('upcoming')
Expand All @@ -167,8 +159,6 @@ export class ListEventComponent implements OnInit, AfterViewInit, OnDestroy {
filter(key: string | 'timestamp' | 'best' | 'saved') {
const upcomingEventsData: any[] = []
const pastEventsData: any[] = []
// tslint:disable-next-line:no-console
console.log('eventData', this.eventData)
if (this.eventData['pastEvents'] && this.eventData['pastEvents'].length > 0) {
this.eventData['pastEvents'].forEach((event: any) => {
pastEventsData.push(event)
Expand All @@ -186,18 +176,12 @@ export class ListEventComponent implements OnInit, AfterViewInit, OnDestroy {
switch (key) {
case 'upcoming':
this.data = upcomingEventsData
// tslint:disable-next-line:no-console
console.log('data', this.data)
break
case 'past':
this.data = pastEventsData
// tslint:disable-next-line:no-console
console.log('data', this.data)
break
default:
this.data = upcomingEventsData
// tslint:disable-next-line:no-console
console.log('data', this.data)
break
}
}
Expand Down
2 changes: 0 additions & 2 deletions src/app/component/root/root.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,6 @@ export class RootComponent implements OnInit, AfterViewInit {

raiseAppStartTelemetry() {
if (!this.appStartRaised) {
// tslint:disable-next-line:no-console
console.log('WsEvents.WsEventLogLevel', WsEvents.WsEventLogLevel)
const event = {
eventType: WsEvents.WsEventType.Telemetry,
eventLogLevel: WsEvents.WsEventLogLevel.Info,
Expand Down

0 comments on commit 4ee6b2b

Please sign in to comment.