diff --git a/src/app/child-dev-project/notes/dashboard-widgets/important-notes/important-notes.component.ts b/src/app/child-dev-project/notes/dashboard-widgets/important-notes/important-notes.component.ts
index c862692da2..a931f2edfe 100644
--- a/src/app/child-dev-project/notes/dashboard-widgets/important-notes/important-notes.component.ts
+++ b/src/app/child-dev-project/notes/dashboard-widgets/important-notes/important-notes.component.ts
@@ -48,7 +48,7 @@ export class ImportantNotesComponent
this.notes.pipe(first()).subscribe(() => (this.loading = false));
this.notes.pipe(untilDestroyed(this)).subscribe((next) => {
this.notesDataSource.data = next
- .filter((note) => this.noteIsRelevant(note))
+ .filter((note) => note.warningLevel && this.noteIsRelevant(note))
.sort((a, b) => b.warningLevel._ordinal - a.warningLevel._ordinal);
});
}
diff --git a/src/assets/locale/messages.de.xlf b/src/assets/locale/messages.de.xlf
index 04b7992d4f..0addbd8688 100644
--- a/src/assets/locale/messages.de.xlf
+++ b/src/assets/locale/messages.de.xlf
@@ -722,7 +722,7 @@
>"/> > days
> Tage
+ >"/> > Tage
Format like 'Days passed > 5 days'
Amount of days back