diff --git a/Mohem/src/app/vacation-rule/vacation-type/vacation-type.component.html b/Mohem/src/app/vacation-rule/vacation-type/vacation-type.component.html index 15900c2a..3d8f1032 100644 --- a/Mohem/src/app/vacation-rule/vacation-type/vacation-type.component.html +++ b/Mohem/src/app/vacation-rule/vacation-type/vacation-type.component.html @@ -33,9 +33,9 @@
- + +
diff --git a/Mohem/src/app/vacation-rule/vacation-type/vacation-type.component.ts b/Mohem/src/app/vacation-rule/vacation-type/vacation-type.component.ts index eeef7508..acc38009 100644 --- a/Mohem/src/app/vacation-rule/vacation-type/vacation-type.component.ts +++ b/Mohem/src/app/vacation-rule/vacation-type/vacation-type.component.ts @@ -26,7 +26,7 @@ import { WorkListReplacementRollComponent } from 'src/app/notification/work-list }) export class VacationTypeComponent implements OnInit { ruleTypeList: any; - index: any; + index = 'noType'; vactionRuleSelected:any =-1; notificationTypeSelected: number; notification_list: any; //// @@ -165,13 +165,11 @@ export class VacationTypeComponent implements OnInit { } - vacationRuleSel(event){ - this.vactionRuleSelected=event.detail.value; + vacationRuleSel(){ + this.vactionRuleSelected = this.index; if(this.notificationTypeShow){ - //this.notificationTypeShow = false this.notificationTypeShow = false this.notifTypeSelP2 = "*"; - //this.part3show = false } if (this.createVacationRuleShow){ this.createVacationRuleShow = false @@ -180,11 +178,6 @@ export class VacationTypeComponent implements OnInit { } - - - - - console.log("event: "+ event.detail.value); } notificationSel(event){