Skip to content
Snippets Groups Projects
Commit 66c000c6 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4189 OZG-4553 remove title

parent 227abc85
No related branches found
No related tags found
No related merge requests found
...@@ -106,10 +106,6 @@ describe('AppComponent', () => { ...@@ -106,10 +106,6 @@ describe('AppComponent', () => {
expect(component).toBeTruthy(); expect(component).toBeTruthy();
}); });
it(`should have "goofy" as title`, () => {
expect(component.title).toEqual('goofy');
});
it(`should call iconService registerIcons`, () => { it(`should call iconService registerIcons`, () => {
expect(iconService.registerIcons).toHaveBeenCalled(); expect(iconService.registerIcons).toHaveBeenCalled();
}); });
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
* unter der Lizenz sind dem Lizenztext zu entnehmen. * unter der Lizenz sind dem Lizenztext zu entnehmen.
*/ */
import { Component, Inject, OnInit } from '@angular/core'; import { Component, Inject, OnInit } from '@angular/core';
import { Title } from '@angular/platform-browser';
import { ApiRootFacade, ApiRootResource } from '@goofy-client/api-root-shared'; import { ApiRootFacade, ApiRootResource } from '@goofy-client/api-root-shared';
import { ENVIRONMENT_CONFIG } from '@goofy-client/environment-shared'; import { ENVIRONMENT_CONFIG } from '@goofy-client/environment-shared';
import { NavigationService } from '@goofy-client/navigation-shared'; import { NavigationService } from '@goofy-client/navigation-shared';
...@@ -41,8 +40,6 @@ import { Observable, Subscription, filter, tap } from 'rxjs'; ...@@ -41,8 +40,6 @@ import { Observable, Subscription, filter, tap } from 'rxjs';
}) })
export class AppComponent implements OnInit { export class AppComponent implements OnInit {
readonly title: string = 'goofy';
public apiRoot$: Observable<StateResource<ApiRootResource>>; public apiRoot$: Observable<StateResource<ApiRootResource>>;
private oAuthEventSubscription: Subscription; private oAuthEventSubscription: Subscription;
...@@ -51,7 +48,6 @@ export class AppComponent implements OnInit { ...@@ -51,7 +48,6 @@ export class AppComponent implements OnInit {
private apiRootFacade: ApiRootFacade, private apiRootFacade: ApiRootFacade,
private iconService: IconService, private iconService: IconService,
private oAuthService: OAuthService, private oAuthService: OAuthService,
private titleService: Title,
private navigationService: NavigationService private navigationService: NavigationService
) { ) {
this.iconService.registerIcons(); this.iconService.registerIcons();
...@@ -124,10 +120,5 @@ export class AppComponent implements OnInit { ...@@ -124,10 +120,5 @@ export class AppComponent implements OnInit {
}) })
); );
} }
//TOCHECK Wird die genutzt?
public setTitle(newTitle: string) {
this.titleService.setTitle(newTitle);
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment