[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 { TwitterSettingsComponent } from './twitter/twitter-settings/twitter-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({
declarations: [
TelegramSettingsComponent,
TwitterSettingsComponent,
EmailSettingsComponent,
EmailDialogComponent,
EmailInfoDialogComponent,
],
imports: [CommonModule, SharedModule],
exports: [

View file

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