-login guard
All checks were successful
Build Docker Image / Preparing Dependecies (push) Successful in 4s
All checks were successful
Build Docker Image / Preparing Dependecies (push) Successful in 4s
-caching -budget
This commit is contained in:
@@ -13,7 +13,7 @@ import { SidebarContentComponent } from './content/sidebar-content/sidebar-conte
|
||||
import { SidebarComponent } from './component/sidebar/sidebar.component';
|
||||
// import { ReactiveFormsModule } from '@angular/forms';
|
||||
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
||||
import { HttpClientModule } from '@angular/common/http';
|
||||
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
|
||||
import { LicensePrivacyTermsComponent } from './component/license-privacy-terms/license-privacy-terms.component';
|
||||
// import { MainDashboardContentComponent } from './content/main-dashboard-content/main-dashboard-content.component';
|
||||
// import { MainDashboardComponent } from './component/main-dashboard/main-dashboard.component';
|
||||
@@ -23,6 +23,7 @@ import { LicensePrivacyTermsComponent } from './component/license-privacy-terms/
|
||||
|
||||
|
||||
import { provideCharts, withDefaultRegisterables } from 'ng2-charts';
|
||||
import { CachingInterceptor } from './services/caching.interceptor';
|
||||
// import { BudgetAproval } from './component/budget-aproval/budget-aproval';
|
||||
// import { AccDateFormatPipe } from './pipe/dtmtodatetime.pipe';
|
||||
// import { DtmtodatetimePipe } from './dtmtodatetime.pipe';
|
||||
@@ -61,7 +62,10 @@ import { provideCharts, withDefaultRegisterables } from 'ng2-charts';
|
||||
exports: [
|
||||
// AccDateFormatPipe
|
||||
],
|
||||
providers: [provideCharts(withDefaultRegisterables())],
|
||||
providers: [
|
||||
provideCharts(withDefaultRegisterables()),
|
||||
{ provide: HTTP_INTERCEPTORS, useClass: CachingInterceptor, multi: true }
|
||||
],
|
||||
bootstrap: [AppComponent]
|
||||
})
|
||||
export class AppModule { }
|
||||
|
||||
Reference in New Issue
Block a user