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

Removed Forensics banner pop up and fixed unit test #343

Open
wants to merge 1 commit into
base: integration
Choose a base branch
from
Open
Show file tree
Hide file tree
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
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
Loading