Skip to content

Commit

Permalink
Merge pull request #1462 from Aam-Digital/small_improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSlimvReal authored Sep 27, 2022
2 parents eae598c + 5ae42e8 commit f591c06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/assets/locale/messages.de.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@
>"/> >  <x id="CLOSE_TAG_SPAN" ctype="x-span" equiv-text="&lt;/span>"/> <x id="INTERPOLATION" equiv-text="{{ childNoteInfo.daysSinceLastNote | number: &quot;1.0-0&quot; }}"/> days <x id="CLOSE_TAG_SPAN" ctype="x-span" equiv-text="&lt;/span>"/><x id="CLOSE_TABLE_CELL" ctype="x-td" equiv-text="&lt;/td>"/></source>
<target state="translated"><x id="START_TABLE_CELL" ctype="x-td" equiv-text="&lt;td *matCellDef=&quot;let childNoteInfo&quot;>"/><x id="START_TAG_SPAN_1" ctype="x-span_1" equiv-text="&lt;span class=&quot;dashboard-table-additional-info-cell&quot;>"/><x id="START_TAG_SPAN" ctype="x-span" equiv-text="&lt;span
*ngIf=&quot;childNoteInfo.moreThanDaysSince&quot;
>"/> > <x id="CLOSE_TAG_SPAN" ctype="x-span" equiv-text="&lt;/span>"/><x id="INTERPOLATION" equiv-text="{{ childNoteInfo.daysSinceLastNote | number: &quot;1.0-0&quot; }}"/>Tage<x id="CLOSE_TAG_SPAN" ctype="x-span" equiv-text="&lt;/span>"/><x id="CLOSE_TABLE_CELL" ctype="x-td" equiv-text="&lt;/td>"/></target>
>"/> > <x id="CLOSE_TAG_SPAN" ctype="x-span" equiv-text="&lt;/span>"/><x id="INTERPOLATION" equiv-text="{{ childNoteInfo.daysSinceLastNote | number: &quot;1.0-0&quot; }}"/> Tage <x id="CLOSE_TAG_SPAN" ctype="x-span" equiv-text="&lt;/span>"/><x id="CLOSE_TABLE_CELL" ctype="x-td" equiv-text="&lt;/td>"/></target>
<note priority="1" from="description">Format like 'Days passed > 5 days'</note>
<note priority="1" from="meaning">Amount of days back</note>
<context-group purpose="location">
Expand Down

0 comments on commit f591c06

Please sign in to comment.