@@ -907,20 +907,20 @@ class Application extends React.Component {
907907 if ( this . state . users . find ( u => u . con === null && ( u . uid === 0 || u . uid === null ) ) ) // not initialized yet
908908 return null ;
909909
910- let imageContainerList = { } ;
910+ let imageContainerMap = { } ;
911911 if ( this . state . containers !== null ) {
912912 Object . keys ( this . state . containers ) . forEach ( c => {
913913 const container = this . state . containers [ c ] ;
914914 const imageKey = makeKey ( container . uid , container . Image ) ;
915- if ( ! imageContainerList [ imageKey ] )
916- imageContainerList [ imageKey ] = [ ] ;
917- imageContainerList [ imageKey ] . push ( {
915+ if ( ! imageContainerMap [ imageKey ] )
916+ imageContainerMap [ imageKey ] = [ ] ;
917+ imageContainerMap [ imageKey ] . push ( {
918918 container,
919919 stats : this . state . containersStats [ makeKey ( container . uid , container . Id ) ] ,
920920 } ) ;
921921 } ) ;
922922 } else
923- imageContainerList = null ;
923+ imageContainerMap = null ;
924924
925925 const loadingImages = this . state . users . find ( u => u . con && ! u . imagesLoaded ) ;
926926 const loadingContainers = this . state . users . find ( u => u . con && ! u . containersLoaded ) ;
@@ -932,7 +932,7 @@ class Application extends React.Component {
932932 < Images
933933 key = "imageList"
934934 images = { loadingImages ? null : this . state . images }
935- imageContainerList = { imageContainerList }
935+ imageContainerList = { imageContainerMap }
936936 onAddNotification = { this . onAddNotification }
937937 textFilter = { this . state . textFilter }
938938 ownerFilter = { this . state . ownerFilter }
0 commit comments