Usenet streaming with a WebDAV server and a SABnzbd-compatible API
C#
Hide history table when empty.
nzbdav-dev1101a6b11dd4
diff --git a/frontend/app/routes/queue/route.tsx b/frontend/app/routes/queue/route.tsxindex cfdd66b8..e94f3313 100644--- a/frontend/app/routes/queue/route.tsx+++ b/frontend/app/routes/queue/route.tsx@@ -51,14 +51,16 @@ function Body({ loaderData, actionData }: BodyProps) {</div>{/* history */}- <div className={styles.section}>- <h3 className={styles["section-title"]}>- History- </h3>- <div className={styles["section-body"]}>- <HistoryTable history={history} />+ {history?.slots?.length > 0 &&+ <div className={styles.section}>+ <h3 className={styles["section-title"]}>+ History+ </h3>+ <div className={styles["section-body"]}>+ <HistoryTable history={history} />+ </div></div>- </div>+ }</div>);}