Skip to content

Commit

Permalink
Removed Forensics banner pop up and fixed unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
chuanlin2018 committed Jul 30, 2024
1 parent 4c89af4 commit 2a32980
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions angular/src/app/landing/landingpage.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export class LandingPageComponent implements OnInit, AfterViewInit {
modalReference: any;
windowScrolled: boolean = false;
showMetrics: boolean = false;
imageURL: string;
imageURL: string = "";
theme: string;
scienceTheme = Themes.SCIENCE_THEME;
defaultTheme = Themes.DEFAULT_THEME;
Expand Down Expand Up @@ -191,7 +191,6 @@ export class LandingPageComponent implements OnInit, AfterViewInit {
let metadataError = "";
this.displaySpecialMessage = false;
this.CART_ACTIONS = CartActions.cartActions;
this.imageURL = 'assets/images/fingerprint.jpg';

// Only listen to storage change if we are not in edit mode
if(this.inBrowser && !this.editEnabled){
Expand Down
2 changes: 1 addition & 1 deletion angular/src/app/landing/topic/topic.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe('TopicComponent', () => {
it('Research Topics should contains Information Technology', () => {
let cmpel = fixture.nativeElement;
let aels = cmpel.querySelectorAll(".topics");
expect(aels.length).toEqual(4);
expect(aels.length).toEqual(2);
expect(aels[0].innerText).toContain('Information Technology');
});

Expand Down
4 changes: 2 additions & 2 deletions angular/src/assets/sample3.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"_schema": "https://www.nist.gov/od/dm/nerdm-schema/v0.1#",
"topic": [
{
"scheme": "https://www.nist.gov/od/dm/nist-themes/v1.0",
"scheme": "https://data.nist.gov/od/dm/nist-themes/v1.0",
"tag": "Information Technology",
"@type": "Concept"
},
{
"scheme": "https://www.nist.gov/od/dm/nist-themes/v1.0",
"scheme": "https://data.nist.gov/od/dm/nist-themes/v1.0",
"tag": "Information Technology: Biometrics",
"@type": "Concept"
}
Expand Down

0 comments on commit 2a32980

Please sign in to comment.