[frontend] Fix imports

This commit is contained in:
Cathy Hu 2020-08-28 17:35:25 +02:00
parent a2b8f657d7
commit fb6e8e8684
2 changed files with 7 additions and 0 deletions

View file

@ -4,12 +4,16 @@ import { TelegramSettingsComponent } from './telegram/telegram-settings/telegram
import { SharedModule } from '../shared/shared.module'; import { SharedModule } from '../shared/shared.module';
import { TwitterSettingsComponent } from './twitter/twitter-settings/twitter-settings.component'; import { TwitterSettingsComponent } from './twitter/twitter-settings/twitter-settings.component';
import { EmailSettingsComponent } from './email/email-settings/email-settings.component'; import { EmailSettingsComponent } from './email/email-settings/email-settings.component';
import { EmailDialogComponent } from './email/email-dialog/email-dialog.component';
import { EmailInfoDialogComponent } from './email/email-info-dialog/email-info-dialog.component';
@NgModule({ @NgModule({
declarations: [ declarations: [
TelegramSettingsComponent, TelegramSettingsComponent,
TwitterSettingsComponent, TwitterSettingsComponent,
EmailSettingsComponent, EmailSettingsComponent,
EmailDialogComponent,
EmailInfoDialogComponent,
], ],
imports: [CommonModule, SharedModule], imports: [CommonModule, SharedModule],
exports: [ exports: [

View file

@ -11,6 +11,7 @@ import { MatInputModule } from '@angular/material/input';
import { MatDialogModule } from '@angular/material/dialog'; import { MatDialogModule } from '@angular/material/dialog';
import { MatSnackBarModule } from '@angular/material/snack-bar'; import { MatSnackBarModule } from '@angular/material/snack-bar';
import { MatSlideToggleModule } from '@angular/material/slide-toggle'; import { MatSlideToggleModule } from '@angular/material/slide-toggle';
import { MatTooltipModule } from '@angular/material/tooltip';
@NgModule({ @NgModule({
declarations: [], declarations: [],
@ -27,6 +28,7 @@ import { MatSlideToggleModule } from '@angular/material/slide-toggle';
MatDialogModule, MatDialogModule,
MatSnackBarModule, MatSnackBarModule,
MatSlideToggleModule, MatSlideToggleModule,
MatTooltipModule,
], ],
exports: [ exports: [
MatButtonModule, MatButtonModule,
@ -41,6 +43,7 @@ import { MatSlideToggleModule } from '@angular/material/slide-toggle';
MatDialogModule, MatDialogModule,
MatSnackBarModule, MatSnackBarModule,
MatSlideToggleModule, MatSlideToggleModule,
MatTooltipModule,
], ],
}) })
export class MaterialModule {} export class MaterialModule {}