@ -1680,7 +1680,7 @@ export class CommonService {
public data = {
datasets: [
{
data: [0, 0, 0, 0, 0, 0, 0],
data: [0, 0, 0, 0, 0, 0, 0, 0],
backgroundColor: [
'#18a169',
'#3cb9d5',
@ -1688,7 +1688,8 @@ export class CommonService {
'#38c9b3',
'#cc3232',
'#9e7e97',
'#ff9800'
'#ff9800',
'#787299'
],
borderWidth: 6
}]
@ -832,7 +832,7 @@ export class HomePage implements OnInit {
// this.getDeviceLocation();
this.showAttendanceOptions();
// tslint:disable-next-line: triple-equals
} else if (link == '1') {
} else if (link == '1' && this.showLoader === false) {
this.common.sharedService.setSharedData(this.statsButtons[1].statsValue, 'total-count');
this.common.startLoading();
this.common.openNotificationPage();