🔧 Fixed the download bundles page
This commit is contained in:
@@ -246,14 +246,13 @@ export const AcquisitionPanel = (
|
|||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<div className="">
|
<article
|
||||||
<article className="">
|
role="alert"
|
||||||
<div className="">
|
className="mt-4 rounded-lg text-sm max-w-screen-md border-s-4 border-yellow-500 bg-yellow-50 p-4 dark:border-s-4 dark:border-yellow-600 dark:bg-yellow-300 dark:text-slate-600"
|
||||||
No AirDC++ hub configured. Please configure it in{" "}
|
>
|
||||||
<code>Settings > AirDC++ > Hubs</code>.
|
No AirDC++ hub configured. Please configure it in{" "}
|
||||||
</div>
|
<code>Settings > AirDC++ > Hubs</code>.
|
||||||
</article>
|
</article>
|
||||||
</div>
|
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -85,7 +85,6 @@ export const DownloadsPanel = (
|
|||||||
return (
|
return (
|
||||||
<div className="columns is-multiline">
|
<div className="columns is-multiline">
|
||||||
<div>
|
<div>
|
||||||
{JSON.stringify(activeTab, null, 4)}
|
|
||||||
<div className="sm:hidden">
|
<div className="sm:hidden">
|
||||||
<label htmlFor="Download Type" className="sr-only">
|
<label htmlFor="Download Type" className="sr-only">
|
||||||
Download Type
|
Download Type
|
||||||
@@ -131,7 +130,7 @@ export const DownloadsPanel = (
|
|||||||
<TorrentDownloads data={torrentDetails} />
|
<TorrentDownloads data={torrentDetails} />
|
||||||
) : null}
|
) : null}
|
||||||
{!isNil(bundles?.data) && bundles?.data.length !== 0 ? (
|
{!isNil(bundles?.data) && bundles?.data.length !== 0 ? (
|
||||||
<AirDCPPBundles data={bundles} />
|
<AirDCPPBundles data={bundles.data} />
|
||||||
) : (
|
) : (
|
||||||
"nutin"
|
"nutin"
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user