diff --git a/src/pages/resultsView/ResultsViewPage.tsx b/src/pages/resultsView/ResultsViewPage.tsx index fad7c6bb01a..917d691030f 100644 --- a/src/pages/resultsView/ResultsViewPage.tsx +++ b/src/pages/resultsView/ResultsViewPage.tsx @@ -525,50 +525,53 @@ export default class ResultsViewPage extends React.Component< /> )} - {this.resultsViewPageStore.studies.isComplete && ( - - - {buildResultsViewPageTitle( - this.resultsViewPageStore.hugoGeneSymbols, - this.resultsViewPageStore.studies.result - )} - - + {this.resultsViewPageStore.studies.isPending && ( + )} {this.resultsViewPageStore.studies.isComplete && ( -
-
- { - this.showTabs = visible; - }} - /> + <> + + + {buildResultsViewPageTitle( + this.resultsViewPageStore.hugoGeneSymbols, + this.resultsViewPageStore.studies.result + )} + + +
+
+ { + this.showTabs = visible; + }} + /> +
+ + {// we don't show the result tabs if we don't have valid query + this.showTabs && + !this.resultsViewPageStore.genesInvalid && + !this.resultsViewPageStore.isQueryInvalid && ( + + this.handleTabChange(id) + } + className="mainTabs" + getTabHref={this.getTabHref} + > + {this.tabs} + + )}
- - {// we don't show the result tabs if we don't have valid query - this.showTabs && - !this.resultsViewPageStore.genesInvalid && - !this.resultsViewPageStore.isQueryInvalid && ( - - this.handleTabChange(id) - } - className="mainTabs" - getTabHref={this.getTabHref} - > - {this.tabs} - - )} -
+ )} );