diff --git a/goofy-client/apps/goofy/src/app/app.component.spec.ts b/goofy-client/apps/goofy/src/app/app.component.spec.ts index 0d187520b0144e7ed7deac498aa963255e6d59db..ceb3a692fef06a452c1e5712af16b2f3deb0c5cc 100644 --- a/goofy-client/apps/goofy/src/app/app.component.spec.ts +++ b/goofy-client/apps/goofy/src/app/app.component.spec.ts @@ -106,10 +106,6 @@ describe('AppComponent', () => { expect(component).toBeTruthy(); }); - it(`should have "goofy" as title`, () => { - expect(component.title).toEqual('goofy'); - }); - it(`should call iconService registerIcons`, () => { expect(iconService.registerIcons).toHaveBeenCalled(); }); diff --git a/goofy-client/apps/goofy/src/app/app.component.ts b/goofy-client/apps/goofy/src/app/app.component.ts index 2e0fc5facff518c0542061467910a2d1871db99c..13df183e9c764b8fc34e8a0a4775b218e9b9f22c 100644 --- a/goofy-client/apps/goofy/src/app/app.component.ts +++ b/goofy-client/apps/goofy/src/app/app.component.ts @@ -22,7 +22,6 @@ * unter der Lizenz sind dem Lizenztext zu entnehmen. */ import { Component, Inject, OnInit } from '@angular/core'; -import { Title } from '@angular/platform-browser'; import { ApiRootFacade, ApiRootResource } from '@goofy-client/api-root-shared'; import { ENVIRONMENT_CONFIG } from '@goofy-client/environment-shared'; import { NavigationService } from '@goofy-client/navigation-shared'; @@ -41,8 +40,6 @@ import { Observable, Subscription, filter, tap } from 'rxjs'; }) export class AppComponent implements OnInit { - readonly title: string = 'goofy'; - public apiRoot$: Observable<StateResource<ApiRootResource>>; private oAuthEventSubscription: Subscription; @@ -51,7 +48,6 @@ export class AppComponent implements OnInit { private apiRootFacade: ApiRootFacade, private iconService: IconService, private oAuthService: OAuthService, - private titleService: Title, private navigationService: NavigationService ) { this.iconService.registerIcons(); @@ -124,10 +120,5 @@ export class AppComponent implements OnInit { }) ); } - - //TOCHECK Wird die genutzt? - public setTitle(newTitle: string) { - this.titleService.setTitle(newTitle); - } }