From c23c9173e53435bf0117bbeaa1da44ade1131b51 Mon Sep 17 00:00:00 2001 From: umasoodch Date: Sat, 11 Apr 2020 20:08:28 +0300 Subject: [PATCH] fixed scroll issue --- .../src/app/notification/home/home.component.ts | 17 ----------------- .../work-list-main-itg.component.html | 6 +++--- .../work-list-main-itg.component.scss | 3 +++ 3 files changed, 6 insertions(+), 20 deletions(-) diff --git a/Mohem/src/app/notification/home/home.component.ts b/Mohem/src/app/notification/home/home.component.ts index 1ce31386..e169299b 100644 --- a/Mohem/src/app/notification/home/home.component.ts +++ b/Mohem/src/app/notification/home/home.component.ts @@ -554,23 +554,6 @@ export class HomeComponent implements OnInit { }); } -// return arrayToSort.sort((a: any, b: any) => -// new Date(b.date).getTime() - new Date(a.date).getTime() -// ); - -sortArrayOfAll(arrayOfAll){ - let date1; - let date2; - for(let i=0; i< arrayOfAll.length; i++){ - // for(const filter of arrayOfAll[i]){ - console.log(arrayOfAll); - arrayOfAll.sort((a,b)=>(this.common.getDateTimeISOFromString(a.ModifiedDate), this.common.getDateTimeISOFromString(b.ModifiedDate))?1:-1); - console.log(arrayOfAll); - // console.log(this.common.getDateTimeISOFromString(filter.ModifiedDate)); - // } - } - } - Details() { this.workListService.getITGDetails('', '', this.isPostNoLoad) .subscribe((result: any) => { diff --git a/Mohem/src/app/notification/work-list-main-itg/work-list-main-itg.component.html b/Mohem/src/app/notification/work-list-main-itg/work-list-main-itg.component.html index 9edbbf00..6c7082f9 100644 --- a/Mohem/src/app/notification/work-list-main-itg/work-list-main-itg.component.html +++ b/Mohem/src/app/notification/work-list-main-itg/work-list-main-itg.component.html @@ -156,11 +156,11 @@ - + - + {{action.name}} diff --git a/Mohem/src/app/notification/work-list-main-itg/work-list-main-itg.component.scss b/Mohem/src/app/notification/work-list-main-itg/work-list-main-itg.component.scss index 8abe3c97..1d5292a4 100644 --- a/Mohem/src/app/notification/work-list-main-itg/work-list-main-itg.component.scss +++ b/Mohem/src/app/notification/work-list-main-itg/work-list-main-itg.component.scss @@ -10,4 +10,7 @@ } .timeline:before{ position: fixed !important; +} +.tabs-margin{ + margin-left: 90px; } \ No newline at end of file