error management
This commit is contained in:
@@ -19,7 +19,7 @@ import { PageNotFound } from './pages/notfound/notfound.page';
|
||||
import { PageProfile } from './pages/profile/profile.page';
|
||||
import { PageUnavailable } from './pages/unavailable/unavailable.page';
|
||||
import { UiMain } from './ui/main/main.ui';
|
||||
import { I18nEmptyPipe, I18nPipe } from './utils/i18n.pipe';
|
||||
import { ErrorCodePipe, I18nEmptyPipe, I18nPipe } from './utils/i18n.pipe';
|
||||
import { MomentPipe } from './utils/moment.pipe';
|
||||
|
||||
import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
|
||||
@@ -66,32 +66,33 @@ export class XhrInterceptor implements HttpInterceptor {
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
AppComponent,
|
||||
AutofocusDirective,
|
||||
ConfirmDialog,
|
||||
ErrorCodePipe,
|
||||
I18nPipe,
|
||||
I18nEmptyPipe,
|
||||
MomentPipe,
|
||||
AppComponent,
|
||||
PageTurnovers,
|
||||
PageTurnoversManage,
|
||||
PageTurnover,
|
||||
PageLogin,
|
||||
PageManagement,
|
||||
PageNotFound,
|
||||
PagePassword,
|
||||
PageProfile,
|
||||
PageTurnover,
|
||||
PageTurnovers,
|
||||
PageTurnoversManage,
|
||||
PageUnavailable,
|
||||
PageUsers,
|
||||
PageUserCreate,
|
||||
UiMain,
|
||||
UiTurnovers,
|
||||
ConfirmDialog
|
||||
UiTurnovers
|
||||
],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
AppRoutingModule,
|
||||
BrowserModule,
|
||||
BrowserAnimationsModule,
|
||||
MaterialModule,
|
||||
FormsModule,
|
||||
MaterialModule,
|
||||
ReactiveFormsModule,
|
||||
ServiceWorkerModule.register('ngsw-worker.js', { enabled: environment.production, registrationStrategy: 'registerWhenStable:30000' }),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user