X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Fapp%2FAppModule.ts;h=70f10dc5ad754454c98159fa6325c1ed73e337b7;hb=07698abcf56f875e53734a29dd4092a53461cc1a;hp=02fa73644016093caae2972c035b68ecdf20850d;hpb=3b4814aa2d3dec621dadb52f058ba95a3dc3a86a;p=osm%2FNG-UI.git diff --git a/src/app/AppModule.ts b/src/app/AppModule.ts index 02fa736..70f10dc 100644 --- a/src/app/AppModule.ts +++ b/src/app/AppModule.ts @@ -19,7 +19,7 @@ * @file Instance Module file */ import { CommonModule, LOCATION_INITIALIZED } from '@angular/common'; -import { HTTP_INTERCEPTORS, HttpClient, HttpClientModule } from '@angular/common/http'; +import { HttpClient, HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http'; import { APP_INITIALIZER, Injector, NgModule } from '@angular/core'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { BrowserModule } from '@angular/platform-browser'; @@ -67,6 +67,7 @@ import { PageNotFoundComponent } from 'PageNotFound'; import { PDUInstancesActionComponent } from 'PDUInstancesActionComponent'; import { ProjectLinkComponent } from 'ProjectLinkComponent'; import { ProjectsActionComponent } from 'ProjectsAction'; +import { ScalingComponent } from 'ScalingComponent'; import { SDNControllerActionComponent } from 'SDNControllerActionComponent'; import { ShowInfoComponent } from 'ShowInfoComponent'; import { SwitchProjectComponent } from 'SwitchProjectComponent'; @@ -121,7 +122,8 @@ const customNotifierOptions: NotifierOptions = { PDUInstancesActionComponent, SDNControllerActionComponent, SwitchProjectComponent, - GoToTopDirective + GoToTopDirective, + ScalingComponent ], imports: [ NotifierModule.withConfig(customNotifierOptions), @@ -143,7 +145,7 @@ const customNotifierOptions: NotifierOptions = { }), NgbModule, NgSelectModule, - RouterModule.forRoot(appRoutes, { useHash: false }), + RouterModule.forRoot(appRoutes, { useHash: false, relativeLinkResolution: 'legacy' }), NgIdleKeepaliveModule.forRoot(), LoaderModule ], @@ -191,7 +193,8 @@ const customNotifierOptions: NotifierOptions = { WIMAccountsActionComponent, PDUInstancesActionComponent, SDNControllerActionComponent, - SwitchProjectComponent + SwitchProjectComponent, + ScalingComponent ] })