diff --git a/src/app/domain/components/search-result/search-result.component.html b/src/app/domain/components/search-result/search-result.component.html index dda5b09cc..dda9d2b66 100644 --- a/src/app/domain/components/search-result/search-result.component.html +++ b/src/app/domain/components/search-result/search-result.component.html @@ -13,6 +13,7 @@ +
diff --git a/src/app/domain/components/search-result/search-result.component.scss b/src/app/domain/components/search-result/search-result.component.scss index fbf860513..47b4dc9ea 100644 --- a/src/app/domain/components/search-result/search-result.component.scss +++ b/src/app/domain/components/search-result/search-result.component.scss @@ -4,7 +4,6 @@ position: relative; width: 64px; height: 64px; - //margin: 0 auto; } .lds-spinner div { transform-origin: 32px 32px; @@ -19,7 +18,7 @@ width: 5px; height: 14px; border-radius: 20%; - background: rgba(5, 12, 9, 0.95); + background: #0b0c0c; } .lds-spinner div:nth-child(1) { transform: rotate(0deg); diff --git a/src/app/domain/components/search-result/search-result.component.ts b/src/app/domain/components/search-result/search-result.component.ts index 266630bd8..8325411dd 100644 --- a/src/app/domain/components/search-result/search-result.component.ts +++ b/src/app/domain/components/search-result/search-result.component.ts @@ -13,20 +13,12 @@ export class SearchResultComponent implements OnInit { data$: Object; error: string; - constructor(private caseService: CaseService, private route: ActivatedRoute , private redirectionService: RedirectionService) { + constructor(private caseService: CaseService) { } ngOnInit() { this.data$ = this.caseService.search(); } - onSubmit() { - // this.caseService.getNewCase().subscribe( - // res => { - // this.redirectionService.redirect(`/?newCase=success`); - // }, () => { - // this.redirectionService.redirect(`/?newCase=failure`); - // } - // ); - } + onSubmit() {} } diff --git a/src/app/routing/pages/generic-page/dashboard/dashboard.component.ts b/src/app/routing/pages/generic-page/dashboard/dashboard.component.ts index 3a6d99562..472001d9b 100644 --- a/src/app/routing/pages/generic-page/dashboard/dashboard.component.ts +++ b/src/app/routing/pages/generic-page/dashboard/dashboard.component.ts @@ -6,6 +6,5 @@ import {Component} from '@angular/core'; styleUrls: ['./dashboard.component.scss'] }) export class DashboardComponent { - constructor() { - } + constructor() {} } diff --git a/src/app/routing/pages/view-case/view-case.component.ts b/src/app/routing/pages/view-case/view-case.component.ts index ac780a8c6..9d34b7878 100644 --- a/src/app/routing/pages/view-case/view-case.component.ts +++ b/src/app/routing/pages/view-case/view-case.component.ts @@ -26,7 +26,7 @@ export class ViewCaseComponent implements OnInit, OnDestroy { } ngOnInit() { - // TODO revisit this gain and perhaps find + // TODO revisit this when components initialisation bug is fixed this.routerSubscription = this.router.events.subscribe((event: Event) => { if (event instanceof NavigationEnd) { this.setNavigationSections();