Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Remove network label from TabBar #3142

Merged
merged 1 commit into from
Nov 3, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions js/src/views/Application/TabBar/tabBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,15 @@ class TabBar extends Component {
}

renderStatusLabel = (label) => {
const { isTest, netChain } = this.props;
const bubble = (
<Badge
color={ isTest ? 'red' : 'default' }
className={ styles.labelBubble }
value={ isTest ? 'TEST' : netChain } />
);

return this.renderLabel(label, bubble);
// const { isTest, netChain } = this.props;
// const bubble = (
// <Badge
// color={ isTest ? 'red' : 'default' }
// className={ styles.labelBubble }
// value={ isTest ? 'TEST' : netChain } />
// );

return this.renderLabel(label, null);
}

onActivate = (activeRoute) => {
Expand Down