mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-21 23:46:18 -05:00
Replacing download count span with semanticui Label.
This commit is contained in:
parent
a5fb634766
commit
ed1ed94beb
1 changed files with 4 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ import {
|
|||
} from "../Common";
|
||||
import {
|
||||
Button as SButton,
|
||||
Label,
|
||||
Loader,
|
||||
PlaceholderLine,
|
||||
TableBody,
|
||||
|
|
@ -353,7 +354,9 @@ export function DownloadsPage() {
|
|||
|
||||
const {onceDownloads, recurringDownloads, pendingOnceDownloads, fetchDownloads} = useDownloads();
|
||||
|
||||
const pendingOnceDownloadsSpan = pendingOnceDownloads > 0 ? <span>({pendingOnceDownloads})</span> : null;
|
||||
const pendingOnceDownloadsSpan = pendingOnceDownloads > 0 ?
|
||||
<Label color='violet' size='large'>{pendingOnceDownloads}</Label>
|
||||
: null;
|
||||
|
||||
return <>
|
||||
<WROLModeMessage content='Downloads are disabled because WROL Mode is enabled.'/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue