mirror of
https://github.com/zoriya/flood.git
synced 2026-06-04 03:27:15 +00:00
TorrentList: fix "a wild 0 appears"
This commit is contained in:
@@ -87,7 +87,7 @@ const TorrentList: FC = observer(() => {
|
||||
<div className="torrents__alert">
|
||||
<Trans id="torrents.list.no.torrents" />
|
||||
</div>
|
||||
{TorrentFilterStore.isFilterActive && (
|
||||
{TorrentFilterStore.isFilterActive ? (
|
||||
<div className="torrents__alert__action">
|
||||
<Button
|
||||
onClick={() => {
|
||||
@@ -98,7 +98,7 @@ const TorrentList: FC = observer(() => {
|
||||
<Trans id="torrents.list.clear.filters" />
|
||||
</Button>
|
||||
</div>
|
||||
)}
|
||||
) : null}
|
||||
</div>
|
||||
);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user