Skip to content

Commit

Permalink
Cleaned up the changelog item if there is no blog section.
Browse files Browse the repository at this point in the history
  • Loading branch information
majora2007 committed Dec 22, 2024
1 parent 6437bb6 commit 02df815
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<ng-container *transloco="let t; read:'changelog-update-item'">
@if (update) {
<div class="update-details">
<div class="blog-content" [innerHTML]="update.blogPart | safeHtml"></div>
@if (update.blogPart) {
<div class="blog-content" [innerHTML]="update.blogPart | safeHtml"></div>

<div class="setting-section-break"></div>
<div class="setting-section-break"></div>
}

<div class="mt-4">
<app-update-section [items]="update.added" [title]="t('added')"></app-update-section>
Expand Down

0 comments on commit 02df815

Please sign in to comment.