Skip to content

Commit

Permalink
add banner to front end
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-va committed Nov 8, 2024
1 parent 3cf1d8f commit f67e35a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class WelcomeComponent implements OnInit, OnDestroy, AfterViewInit {
this.route.queryParams
.subscribe(params => {
if (Object.keys(params).length > 0 && params.terminology !== 'multi' && !params.terminology.includes(',')) {
this.setWelcomeText(params.terminology);
this.setWelcomeText(params.terminology != undefined ? params.terminology : 'ncit');
this.configService.setMultiSearch(false);
} else if (Object.keys(params).length > 0) {
if (params.terminology.includes(',')) {
Expand Down
1 change: 1 addition & 0 deletions web/frontend/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@

<!-- NCI Banner JS -->
<script src="https://cbiit.github.io/nci-softwaresolutions-elements/components/include-html.js"></script>
<script async src="https://assets.adobedtm.com/6a4249cd0a2c/785de09de161/launch-70d67a6a40a8.min.js"></script>
</head>

<body>
Expand Down

0 comments on commit f67e35a

Please sign in to comment.