Skip to content

Commit f19e048

Browse files
committed
include module
1 parent a5c845b commit f19e048

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

web-app/admin/src/app/app.module.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ import { AdminSettingsUnsavedComponent } from './admin/admin-settings/admin-sett
133133
import { AdminEventFormPreviewComponent } from './admin/admin-event/admin-event-form/admin-event-form-preview/admin-event-form-preview.component';
134134
import { AdminEventFormPreviewDialogComponent } from './admin/admin-event/admin-event-form/admin-event-form-preview/admin-event-form-preview-dialog.component';
135135
import { AdminMapComponent } from './admin/admin-map/admin-map.component';
136+
import { AdminDashboardModule } from './admin/admin-dashboard/admin-dashboard.module';
136137

137138

138139
@NgModule({
@@ -254,7 +255,8 @@ import { AdminMapComponent } from './admin/admin-map/admin-map.component';
254255
AdminBreadcrumbModule,
255256
MatSlideToggleModule,
256257
MatStepperModule,
257-
InputMaskModule.forRoot()
258+
InputMaskModule.forRoot(),
259+
AdminDashboardModule,
258260
],
259261
providers: [
260262
mapServiceProvider,

web-app/admin/src/ng1/admin/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@ import angular from 'angular';
22
import admin from './admin.component';
33
import adminTab from './admin.tab.component';
44
import adminPluginTabContentBridge from './admin.plugin-tab-content-bridge.component'
5-
import { AdminDashboardComponent } from './admin-dashboard';
65
import { downgradeComponent } from '@angular/upgrade/static';
76
import { AdminPluginTabContentComponent } from '../../app/admin/plugin-tab/plugin-tab-content.component';
87

98
angular
109
.module('mage')
1110
.component('admin', admin)
1211
.component('adminTab', adminTab)
13-
.directive('adminDashboard', downgradeComponent({ component: AdminPluginTabContentComponent }))
1412
.component('mageAdminPluginTabContentBridge', adminPluginTabContentBridge)
1513
.directive('mageAdminPluginTabContent', downgradeComponent({ component: AdminPluginTabContentComponent }));
1614

web-app/admin/src/ng1/app.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import { AdminServiceComponent } from '../app/admin/admin-feeds/admin-service/ad
2424
import { AdminFeedEditComponent } from '../app/admin/admin-feeds/admin-feed/admin-feed-edit/admin-feed-edit.component';
2525
import { AuthenticationCreateComponent } from '../app/admin/admin-authentication/admin-authentication-create/admin-authentication-create.component';
2626
import { AdminEventFormPreviewComponent } from '../app/admin/admin-event/admin-event-form/admin-event-form-preview/admin-event-form-preview.component';
27+
import { AdminDashboardComponent } from '../app/admin/admin-dashboard/admin-dashboard';
2728

2829
require('angular-minicolors');
2930
require('select2');
@@ -62,7 +63,8 @@ app
6263
.directive('upgradedAdminAuthentication', downgradeComponent({ component: AdminAuthenticationComponent }))
6364
.directive('authenticationCreate', downgradeComponent({ component: AuthenticationCreateComponent }))
6465
.directive('contact', downgradeComponent({ component: ContactComponent }))
65-
.directive('adminEventFormPreview', downgradeComponent({ component: AdminEventFormPreviewComponent }));
66+
.directive('adminEventFormPreview', downgradeComponent({ component: AdminEventFormPreviewComponent }))
67+
.directive('adminDashboard', downgradeComponent({ component: AdminDashboardComponent }));
6668

6769
app
6870
.component('navbar', require('./navbar/navbar.component'))

0 commit comments

Comments
 (0)