diff --git a/dashboard/sharedComponents/input/input.component.ts b/dashboard/sharedComponents/input/input.component.ts index ef1c5e09..2eabc28a 100644 --- a/dashboard/sharedComponents/input/input.component.ts +++ b/dashboard/sharedComponents/input/input.component.ts @@ -93,7 +93,7 @@ export class InputComponent implements OnInit, OnDestroy, OnChanges { } this.subscriptions.push(this.formControl.valueChanges.subscribe(value => { value = (value === '')?null:value; - if(this.initValue === value) { + if(this.initValue === value || (this.initValue === '' && value === null)) { this.formControl.markAsPristine(); } })); diff --git a/dashboard/sharedComponents/sidebar/sideBar.component.ts b/dashboard/sharedComponents/sidebar/sideBar.component.ts index 2b996730..cf9fa001 100644 --- a/dashboard/sharedComponents/sidebar/sideBar.component.ts +++ b/dashboard/sharedComponents/sidebar/sideBar.component.ts @@ -39,7 +39,7 @@ export class SideBarComponent implements OnInit { if (subItem) { return MenuItem.isTheActiveMenu(subItem, this.router.url.split('?')[0]) } - console.debug(item.route + " " + this.router.url.split('?')[0] + MenuItem.isTheActiveMenu(item,this.router.url.split('?')[0])) + //console.debug(item.route + " " + this.router.url.split('?')[0] + MenuItem.isTheActiveMenu(item,this.router.url.split('?')[0])) return MenuItem.isTheActiveMenu(item,this.router.url.split('?')[0]); } } diff --git a/dashboard/users/members/members.component.html b/dashboard/users/members/members.component.html index af4dced8..4b9756cf 100644 --- a/dashboard/users/members/members.component.html +++ b/dashboard/users/members/members.component.html @@ -1,5 +1,5 @@