mirror of
https://github.com/grafana/grafana.git
synced 2025-02-10 07:35:45 -06:00
removing test page
This commit is contained in:
parent
cc7bf31c3e
commit
5916f76991
@ -1,14 +0,0 @@
|
||||
import React, { PureComponent } from 'react';
|
||||
import UnitPicker from 'app/core/components/Picker/Unit/UnitPicker';
|
||||
|
||||
export default class TestPage extends PureComponent {
|
||||
render() {
|
||||
return (
|
||||
<div className="page-body page-container">
|
||||
<div style={{ margin: '160px auto 0', width: '500px' }}>
|
||||
<UnitPicker onSelected={() => {}} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
@ -16,7 +16,6 @@ import UsersListPage from 'app/features/users/UsersListPage';
|
||||
import DataSourceDashboards from 'app/features/datasources/DataSourceDashboards';
|
||||
import DataSourceSettings from '../features/datasources/settings/DataSourceSettings';
|
||||
import OrgDetailsPage from '../features/org/OrgDetailsPage';
|
||||
import TestPage from '../features/test/TestPage';
|
||||
|
||||
/** @ngInject */
|
||||
export function setupAngularRoutes($routeProvider, $locationProvider) {
|
||||
@ -311,12 +310,6 @@ export function setupAngularRoutes($routeProvider, $locationProvider) {
|
||||
controller: 'AlertNotificationEditCtrl',
|
||||
controllerAs: 'ctrl',
|
||||
})
|
||||
.when('/test', {
|
||||
template: '<react-container />',
|
||||
resolve: {
|
||||
component: () => TestPage,
|
||||
},
|
||||
})
|
||||
.otherwise({
|
||||
templateUrl: 'public/app/partials/error.html',
|
||||
controller: 'ErrorCtrl',
|
||||
|
Loading…
Reference in New Issue
Block a user