File tree Expand file tree Collapse file tree 4 files changed +9
-7
lines changed
packages/manager/apps/public-cloud/src Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 55 < meta charset ="utf-8 " />
66 </ head >
77 < body class ="h-100 ">
8- < div data-ng-app ="ovhStack " class ="h-100 d-flex flex-column overflow-hidden " data-ng-controller ="PublicCloudController as $ctrl ">
8+ < div data-ng-app ="ovhStack " data-ng-strict-di class ="h-100 d-flex flex-column overflow-hidden " data-ng-controller ="PublicCloudController as $ctrl ">
99 < div >
1010 < ovh-manager-navbar > </ ovh-manager-navbar >
1111 </ div >
1515 < div class ="col-md-2 p-0 h-100 d-flex flex-column " data-ng-if ="$ctrl.shouldDisplaySidebar() ">
1616 < cloud-sidebar > </ cloud-sidebar >
1717 </ div >
18- < div class ="h-100 d-flex " data-ng-class ="{ 'col-md-10': $ctrl.shouldDisplaySidebar(), 'col-md-12': !$ctrl.shouldDisplaySidebar() } " ui-view >
18+ < div class ="h-100 d-flex " data-ng-class ="{ 'col-md-10': $ctrl.shouldDisplaySidebar(), 'col-md-12': !$ctrl.shouldDisplaySidebar() } " data- ui-view>
1919 < div class ="m-auto text-center ">
2020 < span class ="oui-icon oui-icon-clock-wait mb-4 " style ="font-size: 5rem; "> </ span >
2121 < h1 class ="font-weight-bold " data-translate ="public_cloud_coming_soon "> </ h1 >
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import 'script-loader!jquery'; // eslint-disable-line
22import 'script-loader!lodash' ; // eslint-disable-line
33
44import angular from 'angular' ;
5- import core from '@ovh-ux/manager-core' ;
5+ import ovhManagerCore from '@ovh-ux/manager-core' ;
66import ngOvhApiWrappers from '@ovh-ux/ng-ovh-api-wrappers' ;
77
88import 'ovh-ui-kit/dist/oui.css' ;
@@ -18,7 +18,7 @@ import service from './index.service';
1818
1919angular
2020 . module ( 'ovhStack' , [
21- core ,
21+ ovhManagerCore ,
2222 navbar ,
2323 ngOvhApiWrappers ,
2424 sidebar ,
Original file line number Diff line number Diff line change 11import _ from 'lodash' ;
22
3- export default /* @ngInject */ class PublicCloud {
3+ export default class PublicCloud {
4+ /* @ngInject */
45 constructor ( iceberg ) {
56 this . iceberg = iceberg ;
67 }
@@ -10,7 +11,7 @@ export default /* @ngInject */ class PublicCloud {
1011 . iceberg ( '/cloud/project' )
1112 . query ( )
1213 . expand ( 'CachedObjectList-Cursor' )
13- . sort ( 'description' ) // Doesn't work as long as cache is not enaled
14+ . sort ( 'description' ) // Doesn't work as long as cache is not enabled
1415 . execute ( )
1516 . $promise
1617 . then ( projects => _ . sortBy ( projects , 'description' ) ) ; // Fallback
Original file line number Diff line number Diff line change 1- export default /* @ngInject */ class ProjectListController {
1+ export default class ProjectListController {
2+ /* @ngInject */
23 constructor ( publicCloud , iceberg ) {
34 this . publicCloud = publicCloud ;
45 this . iceberg = iceberg ;
You can’t perform that action at this time.
0 commit comments