Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
mgdigital committed Jan 8, 2025
1 parent 40fed30 commit 27ef57b
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion webui/src/app/health/health-card.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h3>
status: t(
"health.statuses." +
(health.result.error ? "down" : health.result.status)
)
),
})
}}
</h3>
Expand Down
4 changes: 2 additions & 2 deletions webui/src/app/health/health-widget.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[class]="'health-icon ' + 'health-icon-' + health.result.status"
[matTooltip]="
t('health.bitmagnet_is_status', {
status: t('health.statuses.' + health.result.status)
status: t('health.statuses.' + health.result.status),
})
"
(click)="dialog.open(healthDialog)"
Expand All @@ -19,7 +19,7 @@ <h2 matDialogTitle>
status: t(
"health.statuses." +
(health.result.error ? "down" : health.result.status)
)
),
})
}}
</h2>
Expand Down
4 changes: 2 additions & 2 deletions webui/src/app/paginator/paginator.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
t("paginator.x_to_y_of_z", {
x: (firstItemIndex | number),
y: (lastItemIndex | number),
z: totalLength ?? 0 | intEstimate: totalIsEstimate
z: totalLength ?? 0 | intEstimate: totalIsEstimate,
})
}}
} @else {
{{
t("paginator.x_to_y", {
x: (firstItemIndex | number),
y: (lastItemIndex | number)
y: (lastItemIndex | number),
})
}}
}
Expand Down
2 changes: 1 addition & 1 deletion webui/src/app/torrents/torrent-content.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ <h2>
<ng-container
>({{
t("torrents.votes_count_n", {
count: torrentContent.content?.voteCount | number
count: torrentContent.content?.voteCount | number,
})
}})</ng-container
>
Expand Down
2 changes: 1 addition & 1 deletion webui/src/app/torrents/torrent-files-table.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{{
t("torrents.showing_x_of_y_files", {
x: dataSource.result.totalCount | number,
y: torrent.filesCount == null ? "?" : (torrent.filesCount | number)
y: torrent.filesCount == null ? "?" : (torrent.filesCount | number),
})
}}
</p>
Expand Down
2 changes: 1 addition & 1 deletion webui/src/app/torrents/torrents-search.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
? null
: t('content_types.plural.' + controls.contentType),
controls.page > 1 ? t('paginator.page_x', { x: controls.page }) : null,
t('routes.torrents')
t('routes.torrents'),
]"
/>
<mat-drawer-container class="drawer-container">
Expand Down
2 changes: 1 addition & 1 deletion webui/src/app/version/version.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class="version"
[matTooltip]="
t('version.bitmagnet_version', {
version: versionUnknown ? t('version.unknown') : version
version: versionUnknown ? t('version.unknown') : version,
})
"
>{{ version }}</span
Expand Down

0 comments on commit 27ef57b

Please sign in to comment.