@@ -5109,9 +5109,9 @@ b[a.metadata.name] = d;
5109
5109
} ;
5110
5110
e . get ( b . project ) . then ( _ . spread ( function ( a , e ) {
5111
5111
c . project = a , d . list ( "resourcequotas" , e , function ( a ) {
5112
- c . quotas = a . by ( "metadata.name" ) , c . orderedTypesByQuota = k ( c . quotas ) , f . log ( "quotas" , c . quotas ) ;
5112
+ c . quotas = _ . sortBy ( a . by ( "metadata.name" ) , "metadata.name" ) , c . orderedTypesByQuota = k ( c . quotas ) , f . log ( "quotas" , c . quotas ) ;
5113
5113
} ) , d . list ( "appliedclusterresourcequotas" , e , function ( a ) {
5114
- c . clusterQuotas = a . by ( "metadata.name" ) , c . orderedTypesByClusterQuota = k ( c . clusterQuotas ) , c . namespaceUsageByClusterQuota = { } , _ . each ( c . clusterQuotas , function ( a , d ) {
5114
+ c . clusterQuotas = _ . sortBy ( a . by ( "metadata.name" ) , "metadata.name" ) , c . orderedTypesByClusterQuota = k ( c . clusterQuotas ) , c . namespaceUsageByClusterQuota = { } , _ . each ( c . clusterQuotas , function ( a , d ) {
5115
5115
if ( a . status ) {
5116
5116
var e = _ . find ( a . status . namespaces , {
5117
5117
namespace :b . project
@@ -5120,7 +5120,8 @@ c.namespaceUsageByClusterQuota[d] = e.status;
5120
5120
}
5121
5121
} ) , f . log ( "cluster quotas" , c . clusterQuotas ) ;
5122
5122
} ) , d . list ( "limitranges" , e , function ( a ) {
5123
- c . limitRanges = a . by ( "metadata.name" ) , c . emptyMessageLimitRanges = "There are no limit ranges set on this project." , angular . forEach ( c . limitRanges , function ( a , b ) {
5123
+ c . limitRanges = _ . sortBy ( a . by ( "metadata.name" ) , "metadata.name" ) , c . emptyMessageLimitRanges = "There are no limit ranges set on this project." , angular . forEach ( c . limitRanges , function ( a ) {
5124
+ var b = a . metadata . name ;
5124
5125
c . limitsByType [ b ] = { } , angular . forEach ( a . spec . limits , function ( a ) {
5125
5126
var d = c . limitsByType [ b ] [ a . type ] = { } ;
5126
5127
angular . forEach ( a . max , function ( a , b ) {
@@ -5949,7 +5950,7 @@ d.unwatchAll(i);
5949
5950
} ) ;
5950
5951
} ) ) ;
5951
5952
} ] ) , angular . module ( "openshiftConsole" ) . controller ( "ImageStreamController" , [ "$scope" , "$routeParams" , "DataService" , "ProjectsService" , "$filter" , "ImageStreamsService" , function ( a , b , c , d , e , f ) {
5952
- a . projectName = b . project , a . imageStream = null , a . tagsByName = { } , a . tagShowOlder = { } , a . alerts = { } , a . renderOptions = a . renderOptions || { } , a . renderOptions . hideFilterWidget = ! 0 , a . breadcrumbs = [ {
5953
+ a . projectName = b . project , a . imageStream = null , a . tags = [ ] , a . tagShowOlder = { } , a . alerts = { } , a . renderOptions = a . renderOptions || { } , a . renderOptions . hideFilterWidget = ! 0 , a . breadcrumbs = [ {
5953
5954
title :"Image Streams" ,
5954
5955
link :"project/" + b . project + "/browse/images"
5955
5956
} , {
@@ -5962,7 +5963,7 @@ a.loaded = !0, a.imageStream = d, a.emptyMessage = "No tags to show", g.push(c.w
5962
5963
"DELETED" === c && ( a . alerts . deleted = {
5963
5964
type :"warning" ,
5964
5965
message :"This image stream has been deleted."
5965
- } ) , a . imageStream = b , a . tagsByName = f . tagsByName ( a . imageStream ) ;
5966
+ } ) , a . imageStream = b , a . tags = _ . toArray ( f . tagsByName ( a . imageStream ) ) ;
5966
5967
} ) ) ;
5967
5968
} , function ( b ) {
5968
5969
a . loaded = ! 0 , a . alerts . load = {
0 commit comments