change(ui) - red count check
This commit is contained in:
parent
e63a9e79b4
commit
63ed487f2c
2 changed files with 4 additions and 4 deletions
|
|
@ -78,8 +78,8 @@ function getStorageName(type) {
|
|||
// logCount: state.logList.length,
|
||||
logRedCount: state.logRedCount,
|
||||
showExceptions: state.exceptionsList.length > 0,
|
||||
resourceRedCount: state.resourceRedCount,
|
||||
fetchRedCount: state.fetchRedCount,
|
||||
resourceRedCount: state.resourceRedCountNow, // TODO missing state.resourceRedCount
|
||||
fetchRedCount: state.fetchRedCountNow,
|
||||
showStack: state.stackList.length > 0,
|
||||
stackCount: state.stackList.length,
|
||||
stackRedCount: state.stackRedCount,
|
||||
|
|
@ -261,6 +261,7 @@ export default class Controls extends React.Component {
|
|||
logRedCount,
|
||||
showExceptions,
|
||||
resourceRedCount,
|
||||
fetchRedCount,
|
||||
showStack,
|
||||
stackRedCount,
|
||||
showStorage,
|
||||
|
|
@ -352,7 +353,7 @@ export default class Controls extends React.Component {
|
|||
onClick={() => toggleBottomTools(NETWORK)}
|
||||
active={bottomBlock === NETWORK && !inspectorMode}
|
||||
label="NETWORK"
|
||||
hasErrors={resourceRedCount > 0}
|
||||
hasErrors={resourceRedCount > 0 || fetchRedCount > 0}
|
||||
noIcon
|
||||
labelClassName="!text-base font-semibold"
|
||||
containerClassName="mx-2"
|
||||
|
|
|
|||
|
|
@ -394,7 +394,6 @@ export default connectPlayer((state: any) => ({
|
|||
fetchList: state.fetchList.map((i: any) => Resource({ ...i.toJS(), type: TYPES.XHR })),
|
||||
domContentLoadedTime: state.domContentLoadedTime,
|
||||
loadTime: state.loadTime,
|
||||
// time: state.time,
|
||||
playing: state.playing,
|
||||
domBuildingTime: state.domBuildingTime,
|
||||
}))(NetworkPanel);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue