Skip to content

Commit

Permalink
#196: prevent NPE on missing CVs
Browse files Browse the repository at this point in the history
  • Loading branch information
Espen Norderud committed Oct 24, 2023
1 parent 1736ca0 commit 7460bfa
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/components/agenda/AgendaLayout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@
import type { IEvent, IPerformance } from '../../model/event';
import { Submission } from '../../enums/submission-type';
import type { Cv } from '$lib/types/cv';
import {featureIsToggledOn} from "../../featureFlagging/common";
export let submission: ISubmission;
export let event: IEvent;
export let performance: IPerformance;
export let cvs: Cv[];
export let cvs: Cv[] = [];
let submissionTypeIcon = {
presentation: Megaphone,
Expand All @@ -23,10 +22,6 @@
};
const authorsLength = submission?.authors?.length || 0;
if (featureIsToggledOn("debuglog")) {
console.log({submission, event, performance, cvs, authorsLength});
}
</script>

<div class="container-fluid">
Expand Down

0 comments on commit 7460bfa

Please sign in to comment.