Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the feature flag from Group Comparison Mutations tab and add beta indicator #4441

Merged
merged 1 commit into from
Dec 6, 2022
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
36 changes: 20 additions & 16 deletions src/pages/groupComparison/GroupComparisonPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,20 +216,24 @@ export default class GroupComparisonPage extends React.Component<
<AlterationEnrichments store={this.store} />
</MSKTab>
)}
{this.props.appStore.featureFlagStore.has(
'group_comparison_mutations_lollipop_plot'
) &&
this.store.showMutationsTab && (
<MSKTab
id={GroupComparisonTab.MUTATIONS}
linkText="Mutations"
>
<GroupComparisonMutationsTab
store={this.store}
urlWrapper={this.urlWrapper}
/>
{/* stacked lollipop plots for > 2 groups */}
{/* {this.store.activeGroups.result!.map(g => {
{this.store.showMutationsTab && (
<MSKTab
id={GroupComparisonTab.MUTATIONS}
linkText={
<span>
Mutations{' '}
<strong className={'beta-text'}>
Beta!
</strong>
</span>
}
>
<GroupComparisonMutationsTab
store={this.store}
urlWrapper={this.urlWrapper}
/>
{/* stacked lollipop plots for > 2 groups */}
{/* {this.store.activeGroups.result!.map(g => {
return (
<div>
<h3>{g.name}</h3>
Expand All @@ -244,8 +248,8 @@ export default class GroupComparisonPage extends React.Component<
</div>
);
})} */}
</MSKTab>
)}
</MSKTab>
)}
{this.store.showMRNATab && (
<MSKTab
id={GroupComparisonTab.MRNA}
Expand Down