Skip to content

Commit

Permalink
Make grid view available for experimetanl users
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaKhatri committed Apr 15, 2019
1 parent 861f1b0 commit 965901f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/Leads/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const tabsIcons = {
[GRID_VIEW]: 'grid',
};

const hideOnBeta = ({ isBeta }) => isBeta;
const hideExperimental = ({ isExperimental }) => !isExperimental;

@connect(mapStateToProps, mapDispatchToProps)
export default class Leads extends React.PureComponent {
Expand Down Expand Up @@ -549,7 +549,7 @@ export default class Leads extends React.PureComponent {
<React.Fragment>
<FilterLeadsForm className={styles.filters} />
<Cloak
hide={hideOnBeta}
hide={hideExperimental}
render={
<FixedTabs
tabs={Leads.tabs}
Expand Down

0 comments on commit 965901f

Please sign in to comment.