Skip to content

Commit

Permalink
update screens
Browse files Browse the repository at this point in the history
  • Loading branch information
alisman committed Sep 20, 2024
1 parent d3b54d8 commit 9dde3ef
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/pages/studyView/addChartButton/AddChartButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ import { StudyViewPageTabKeyEnum } from 'pages/studyView/StudyViewPageTabs';
import autobind from 'autobind-decorator';
import _ from 'lodash';
import AddChartByType from './addChartByType/AddChartByType';
import { DefaultTooltip, remoteData } from 'cbioportal-frontend-commons';
import {
DefaultTooltip,
isWebdriver,
remoteData,
} from 'cbioportal-frontend-commons';
import CustomCaseSelection from './customCaseSelection/CustomCaseSelection';
import {
calculateClinicalDataCountFrequency,
Expand Down Expand Up @@ -915,7 +919,9 @@ class AddChartTabs extends React.Component<IAddChartTabsProps, {}> {
</span>
</>
)}
{this.props.store.isLoggedIn && (
// we want to show in e2e context even if user is //
logged out
{(this.props.store.isLoggedIn || isWebdriver()) && (
<div>
{this.customChartDataOptions.length > 0 && (
<button
Expand Down

0 comments on commit 9dde3ef

Please sign in to comment.