New solo panel route working in all scenarios I can test

This commit is contained in:
Torkel Ödegaard
2019-02-01 08:12:58 +01:00
parent c4f55fecbe
commit aeaac7480b
12 changed files with 58 additions and 218 deletions

View File

@@ -59,10 +59,11 @@ export function setupAngularRoutes($routeProvider, $locationProvider) {
},
})
.when('/dashboard-solo/:type/:slug', {
templateUrl: 'public/app/features/panel/partials/soloPanel.html',
controller: 'SoloPanelCtrl',
reloadOnSearch: false,
pageClass: 'page-dashboard',
template: '<react-container />',
pageClass: 'dashboard-solo',
resolve: {
component: () => SoloPanelPage,
},
})
.when('/dashboard/new', {
templateUrl: 'public/app/partials/dashboard.html',