mow fixed issues

MOE_DEV
umasoodch 3 years ago
parent b6d6c49618
commit 5517a9817a

@ -62,7 +62,7 @@
</ion-item> -->
<div *ngFor="let menu of menuList">
<ion-item (click)="oepnMyRequest(menu)" *ngIf="menu.REQUEST_GROUP_NAME =='MBL_RG_01' && menu.MENU_TYPE =='E'">
<ion-item (click)="oepnMyRequest(menu)" *ngIf="menu.MENU_TYPE =='E'">
<ion-thumbnail slot="start" class="menu-thumb">
<img style= "height: 20px !important;" src="../assets/imgs/my-request.png" item-left>
</ion-thumbnail>
@ -185,7 +185,7 @@
</ion-item> -->
<div *ngFor="let menu of menuList">
<ion-item (click)="oepnMyRequest(menu)" *ngIf="menu.REQUEST_GROUP_NAME =='MBL_RG_01' && menu.MENU_TYPE =='E'">
<ion-item (click)="oepnMyRequest(menu)" *ngIf="menu.MENU_TYPE =='E'">
<ion-thumbnail slot="start" class="menu-thumb">
<img style= "height: 20px !important;" src="../assets/imgs/my-request.png" item-left>
</ion-thumbnail>

@ -222,6 +222,7 @@ export class AppComponent implements OnInit {
this.events.subscribe('myTeamFlag', myTeamFlag => {
this.TeamFlag = myTeamFlag;
this.menuList = this.cs.sharedService.getSharedData(MenuResponse.MENU_LIST, false);
console.log(this.menuList);
});
}

@ -18,6 +18,7 @@
.iconBox img{
margin: 0px auto 10px;
display: block;
width: 35px;
// max-width: 35%;
}

@ -372,7 +372,8 @@ export class HomePage implements OnInit {
callDashboardServices() {
this.getMenu();
this.setServicesPrivilage();
this.statsButtons[1].show = true;
// this.setServicesPrivilage();
if (this.common.getTotalNumberOfWorklistRequest()) {
this.statsButtons[0].statsValue = this.common.getTotalNumberOfWorklistRequest();
this.showLoader = false;
@ -384,7 +385,7 @@ export class HomePage implements OnInit {
//this.showAttendanceTracking();
//var accrualBalance = this.common.sharedService.getSharedData('leaveAccrualBalance', false);
// if (!accrualBalance)
// this.getAccrualBalance();
this.getAccrualBalance();
}
public Vacation_Rule() {
@ -427,6 +428,8 @@ export class HomePage implements OnInit {
if (this.menuList[i].MENU_TYPE === 'M') {
this.events.publish('myTeamFlag', 'true');
// this.common.sharedService.setSharedData('true', "myTeamFlag");
} else {
this.events.publish('myTeamFlag', 'false');
}
}

Loading…
Cancel
Save