Skip to content

Commit 1af75ec

Browse files
author
Vitor Durante
committed
Transfer MaterialInput to shared module
1 parent 49f53ee commit 1af75ec

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

angular/src/account/account.module.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ import { MaterialInput } from '@shared/directives/material-input.directive';
4040
TenantChangeModalComponent,
4141
LoginComponent,
4242
RegisterComponent,
43-
AccountLanguagesComponent,
44-
MaterialInput
43+
AccountLanguagesComponent
4544
],
4645
providers: [
4746
LoginService

angular/src/app/app.module.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ import { MaterialInput } from '@shared/directives/material-input.directive';
4141
SideBarUserAreaComponent,
4242
SideBarNavComponent,
4343
SideBarFooterComponent,
44-
RightSideBarComponent,
45-
MaterialInput
44+
RightSideBarComponent
4645
],
4746
imports: [
4847
CommonModule,

angular/src/shared/shared.module.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,19 @@ import { AppSessionService } from './session/app-session.service';
77
import { AppUrlService } from './nav/app-url.service';
88
import { AppAuthService } from './auth/app-auth.service';
99
import { AppRouteGuard } from './auth/auth-route-guard';
10+
import { MaterialInput } from "shared/directives/material-input.directive";
1011

1112
@NgModule({
1213
imports: [
1314
CommonModule,
1415
AbpModule,
1516
RouterModule
17+
],
18+
declarations: [
19+
MaterialInput
20+
],
21+
exports: [
22+
MaterialInput
1623
]
1724
})
1825
export class SharedModule {
@@ -27,4 +34,4 @@ export class SharedModule {
2734
]
2835
}
2936
}
30-
}
37+
}

0 commit comments

Comments
 (0)