From 9d036413ed6c71f1526b2b9c6472a7efa012634c Mon Sep 17 00:00:00 2001 From: Tom Winter Date: Wed, 16 Oct 2024 14:33:10 +0200 Subject: [PATCH] fix: prevent component init error --- .../notes/notes-manager/notes-manager.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/child-dev-project/notes/notes-manager/notes-manager.component.ts b/src/app/child-dev-project/notes/notes-manager/notes-manager.component.ts index a1ac49c013..613a9068e8 100644 --- a/src/app/child-dev-project/notes/notes-manager/notes-manager.component.ts +++ b/src/app/child-dev-project/notes/notes-manager/notes-manager.component.ts @@ -62,6 +62,9 @@ export class NotesManagerComponent implements OnInit { @Input() includeEventNotes: boolean; @Input() showEventNotesToggle: boolean; + // not used anymore, but throwing errors when missing + @Input() entityType: any; + entityConstructor = Note; notes: Note[];