mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 15:15:34 +00:00
Set default standalone app homepage
This commit is contained in:
@@ -49,6 +49,8 @@ angular.module('app', ['ui.router', 'ct.ui.router.extras.sticky', 'ui.sortable',
|
|||||||
// If a previous state has been stored, load that state
|
// If a previous state has been stored, load that state
|
||||||
if (state && state.name && state.params) {
|
if (state && state.name && state.params) {
|
||||||
$state.go(state.name, state.params, {location:'replace'});
|
$state.go(state.name, state.params, {location:'replace'});
|
||||||
|
} else {
|
||||||
|
$state.go('shipyard', null, {location:'replace'}); // Default to home page
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user