@@ -87,31 +87,31 @@ export function ChannelMonitoringCtrl ($scope, $uibModal, $interval, $location,
8787 if ( parseInt ( channelsResults [ 0 ] . processing ) !== 0 ) {
8888 value = parseInt ( channelsResults [ 0 ] . processing )
8989 percent = ( 100 / totalTransactions * value ) . toFixed ( 2 )
90- channelsData . push ( { label : 'Processing' , value : value , percent : percent , color : '#777777' } )
90+ channelsData . push ( { label : 'Processing' , value, percent, color : '#777777' } )
9191 }
9292
9393 if ( parseInt ( channelsResults [ 0 ] . failed ) !== 0 ) {
9494 value = parseInt ( channelsResults [ 0 ] . failed )
9595 percent = ( 100 / totalTransactions * value ) . toFixed ( 2 )
96- channelsData . push ( { label : 'Failed' , value : value , percent : percent , color : '#d9534f' } )
96+ channelsData . push ( { label : 'Failed' , value, percent, color : '#d9534f' } )
9797 }
9898
9999 if ( parseInt ( channelsResults [ 0 ] . completed ) !== 0 ) {
100100 value = parseInt ( channelsResults [ 0 ] . completed )
101101 percent = ( 100 / totalTransactions * value ) . toFixed ( 2 )
102- channelsData . push ( { label : 'Completed' , value : value , percent : percent , color : '#EFC300' } )
102+ channelsData . push ( { label : 'Completed' , value, percent, color : '#EFC300' } )
103103 }
104104
105105 if ( parseInt ( channelsResults [ 0 ] . completedWErrors ) !== 0 ) {
106106 value = parseInt ( channelsResults [ 0 ] . completedWErrors )
107107 percent = ( 100 / totalTransactions * value ) . toFixed ( 2 )
108- channelsData . push ( { label : 'Completed With Error (s)' , value : value , percent : percent , color : '#FB8B24' } )
108+ channelsData . push ( { label : 'Completed With Error (s)' , value, percent, color : '#FB8B24' } )
109109 }
110110
111111 if ( parseInt ( channelsResults [ 0 ] . successful ) !== 0 ) {
112112 value = parseInt ( channelsResults [ 0 ] . successful )
113113 percent = ( 100 / totalTransactions * value ) . toFixed ( 2 )
114- channelsData . push ( { label : 'Successful' , value : value , percent : percent , color : '#5cb85c' } )
114+ channelsData . push ( { label : 'Successful' , value, percent, color : '#5cb85c' } )
115115 }
116116
117117 updateChannelsBarChart ( channelsData )
0 commit comments