File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
web-app/admin/src/ng1/admin Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11import angular from 'angular' ;
22import admin from './admin.component' ;
33import adminTab from './admin.tab.component' ;
4- import adminDashboard from './admin.dashboard.component' ;
54import adminPluginTabContentBridge from './admin.plugin-tab-content-bridge.component'
5+ import { AdminDashboardComponent } from './admin-dashboard' ;
66import { downgradeComponent } from '@angular/upgrade/static' ;
77import { AdminPluginTabContentComponent } from '../../app/admin/plugin-tab/plugin-tab-content.component' ;
88
99angular
1010 . module ( 'mage' )
1111 . component ( 'admin' , admin )
1212 . component ( 'adminTab' , adminTab )
13- . component ( 'adminDashboard' , adminDashboard )
13+ . directive ( 'adminDashboard' , downgradeComponent ( { component : AdminPluginTabContentComponent } ) )
1414 . component ( 'mageAdminPluginTabContentBridge' , adminPluginTabContentBridge )
1515 . directive ( 'mageAdminPluginTabContent' , downgradeComponent ( { component : AdminPluginTabContentComponent } ) ) ;
1616
You can’t perform that action at this time.
0 commit comments