File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
packages/manager/modules/navbar/src Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -9,23 +9,24 @@ import 'ovh-ui-angular';
99
1010import menuHeader from '../navbar-menu-header' ;
1111
12- import { URLS } from './constants' ;
12+ import { ASSISTANCE_URLS } from './constants' ;
1313
1414import component from './component' ;
1515
1616const moduleName = 'ovhManagerNavbarAssistanceMenu' ;
1717
1818angular
1919 . module ( moduleName , [
20+ 'ovhManagerCore' ,
2021 'ngAtInternet' ,
2122 'ngOvhChatbot' ,
2223 'ngOvhOtrs' ,
2324 'oui' ,
2425 'pascalprecht.translate' ,
2526 menuHeader ,
2627 ] )
27- . config ( /* @ngInject */ ( OtrsPopupProvider ) => {
28- OtrsPopupProvider . setBaseUrlTickets ( URLS . ticket ) ;
28+ . config ( /* @ngInject */ ( OtrsPopupProvider , coreConfigProvider ) => {
29+ OtrsPopupProvider . setBaseUrlTickets ( ASSISTANCE_URLS [ coreConfigProvider . getRegion ( ) ] . ticket ) ;
2930 } )
3031 . component ( 'ovhManagerNavbarAssistanceMenu' , component )
3132 . run ( /* @ngTranslationsInject :json ./translations */ ) ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export default class {
66 $q ,
77 $translate ,
88 atInternet ,
9- coreconfig ,
9+ coreConfig ,
1010 ovhManagerNavbarMenuHeaderBuilder ,
1111 ssoAuthentication ,
1212 ) {
@@ -16,7 +16,7 @@ export default class {
1616 this . NavbarBuilder = ovhManagerNavbarMenuHeaderBuilder ;
1717 this . ssoAuthentication = ssoAuthentication ;
1818
19- this . REGION = coreconfig . getRegion ( ) ;
19+ this . REGION = coreConfig . getRegion ( ) ;
2020 this . URLS = USER_MENU_URLS [ this . REGION ] ;
2121 }
2222
You can’t perform that action at this time.
0 commit comments