Skip to content

Commit

Permalink
Merge pull request #758 from the-deep/feature-lead-grid-experimental
Browse files Browse the repository at this point in the history
Make grid view available for experimetanl users (khatri is sure this won't fail)
  • Loading branch information
tnagorra authored Apr 15, 2019
2 parents 861f1b0 + 965901f commit bc04a5a
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 bc04a5a

Please sign in to comment.