🔧 Fixed the download bundles page

This commit is contained in:
2024-10-28 13:03:46 -04:00
parent 8a32dc41df
commit 173e314032
2 changed files with 8 additions and 10 deletions

View File

@@ -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 &gt; AirDC++ &gt; Hubs</code>. No AirDC++ hub configured. Please configure it in{" "}
</div> <code>Settings &gt; AirDC++ &gt; Hubs</code>.
</article> </article>
</div>
)} )}
</div> </div>

View File

@@ -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"
)} )}