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

fix: CSET-2904 gallery console errors #4218

Merged
merged 3 commits into from
Nov 8, 2024
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@ import { AuthenticationService } from '../../../../services/authentication.servi
import { ConfigService } from '../../../../services/config.service';
import { AssessmentDetail } from '../../../../models/assessment-info.model';
import { Demographic } from '../../../../models/assessment-info.model';

import pdfMake from 'pdfmake/build/pdfmake';
import pdfFonts from 'pdfmake/build/vfs_fonts';
import { DemographicService } from '../../../../services/demographic.service';
import { ActivatedRoute } from '@angular/router';
pdfMake.vfs = pdfFonts.pdfMake.vfs;

@Component({
selector: 'app-key-report',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,10 @@ export class SearchPageComponent implements OnInit, AfterViewInit {

onHoverOut(i: number, cardId: number) {
this.hoverIndex = i;

var el = document.getElementById('c' + cardId.toString()).parentElement;
el.style.removeProperty('right');
if (document.getElementById('c' + cardId.toString())) {
var el = document.getElementById('c' + cardId.toString()).parentElement;
el.style.removeProperty('right');
}
}

getImageSrc(src: string) {
Expand Down
Loading