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

OZG-4189 OZG-4553 remove title

parent 227abc85
Branches
Tags
No related merge requests found
......@@ -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();
});
......
......@@ -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);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment