Skip to content

Commit

Permalink
Import and Export the ngx-translate TranslationModule in SharedModule…
Browse files Browse the repository at this point in the history
… so it can be used internally and externally
  • Loading branch information
esurface committed Jul 17, 2024
1 parent a72c09c commit ba296f6
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions editor/src/app/shared/shared.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,16 @@ import {MatProgressBarModule} from "@angular/material/progress-bar";

@NgModule({
schemas: [CUSTOM_ELEMENTS_SCHEMA],
imports: [
CommonModule,
MatTableModule,
MatMenuModule,
MatIconModule,
MatDialogModule,
MatButtonModule,
MatProgressBarModule
],
imports: [
CommonModule,
MatTableModule,
MatMenuModule,
MatIconModule,
MatDialogModule,
MatButtonModule,
MatProgressBarModule,
TranslateModule
],
providers: [
AppConfigService,
ServerConfigService,
Expand All @@ -42,7 +43,6 @@ import {MatProgressBarModule} from "@angular/material/progress-bar";
ProcessGuard
],
exports: [
TranslateModule,
DynamicTableComponent,
MatSnackBarModule,
TangyLoadingComponent,
Expand All @@ -51,7 +51,8 @@ import {MatProgressBarModule} from "@angular/material/progress-bar";
NgxPermissionsModule,
HasAPermissionDirective,
HasSomePermissionsDirective,
HasAllPermissionsDirective
HasAllPermissionsDirective,
TranslateModule
],
declarations: [
TangyLoadingComponent,
Expand Down

0 comments on commit ba296f6

Please sign in to comment.