File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
packages/manager/modules/pci/src/projects/project Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ export default /* @ngInject */ ($stateProvider) => {
3434 } ,
3535 resolve : {
3636 projectId : /* @ngInject */ $transition$ => $transition$ . params ( ) . projectId ,
37- project : /* @ngInject */ ( OvhApiCloudProject , $transition$ ) => OvhApiCloudProject
37+ project : /* @ngInject */ ( OvhApiCloudProject , projectId ) => OvhApiCloudProject
3838 . v6 ( )
3939 . get ( {
40- serviceName : $transition$ . params ( ) . projectId ,
40+ serviceName : projectId ,
4141 } )
4242 . $promise ,
4343 breadcrumb : /* @ngInject */ project => ( project . status !== 'creating'
Original file line number Diff line number Diff line change @@ -43,9 +43,13 @@ export default class SidebarController {
4343 }
4444
4545 setProject ( serviceName ) {
46+ if ( isEmpty ( serviceName ) ) {
47+ return null ;
48+ }
49+
4650 this . isLoading = true ;
4751
48- this . SidebarMenu . setInitializationPromise (
52+ return this . SidebarMenu . setInitializationPromise (
4953 this . OvhApiCloudProject
5054 . v6 ( )
5155 . get ( {
You can’t perform that action at this time.
0 commit comments