diff --git a/src/components/AppShelf/AddAppShelfItem.tsx b/src/components/AppShelf/AddAppShelfItem.tsx index 009472bbe..39f966cea 100644 --- a/src/components/AppShelf/AddAppShelfItem.tsx +++ b/src/components/AppShelf/AddAppShelfItem.tsx @@ -38,7 +38,7 @@ export function AddItemShelfButton(props: any) { > - + - setOpened(true)} - > - + + setOpened(true)} + > - - + + ); } diff --git a/src/modules/docker/DockerModule.tsx b/src/modules/docker/DockerModule.tsx index 9d82eefd7..caca75306 100644 --- a/src/modules/docker/DockerModule.tsx +++ b/src/modules/docker/DockerModule.tsx @@ -1,4 +1,4 @@ -import { ActionIcon, Drawer, Group, LoadingOverlay, Text } from '@mantine/core'; +import { ActionIcon, Drawer, Group, LoadingOverlay, Text, Tooltip } from '@mantine/core'; import axios from 'axios'; import { useEffect, useState } from 'react'; import Docker from 'dockerode'; @@ -67,7 +67,7 @@ export default function DockerMenuButton(props: any) { > - + - + ); } diff --git a/src/modules/downloads/DownloadsModule.tsx b/src/modules/downloads/DownloadsModule.tsx index 62c725b06..e27f28195 100644 --- a/src/modules/downloads/DownloadsModule.tsx +++ b/src/modules/downloads/DownloadsModule.tsx @@ -83,10 +83,10 @@ export default function DownloadComponent() { if (downloadServices.length === 0) { return ( - + No supported download clients found! - Add a download service to view your current downloads... + Add a download service to view your current downloads diff --git a/src/modules/downloads/TotalDownloadsModule.tsx b/src/modules/downloads/TotalDownloadsModule.tsx index d74313b53..ccf7de7b3 100644 --- a/src/modules/downloads/TotalDownloadsModule.tsx +++ b/src/modules/downloads/TotalDownloadsModule.tsx @@ -43,6 +43,7 @@ export default function TotalDownloadsComponent() { const totalDownloadSpeed = torrents.reduce((acc, torrent) => acc + torrent.downloadSpeed, 0); const totalUploadSpeed = torrents.reduce((acc, torrent) => acc + torrent.uploadSpeed, 0); useEffect(() => { + if (downloadServices.length === 0) return; const interval = setSafeInterval(() => { // Send one request with each download service inside axios @@ -78,13 +79,17 @@ export default function TotalDownloadsComponent() { if (downloadServices.length === 0) { return ( - + No supported download clients found! - - Add a download service to view your current downloads... - - - +
+ + Add a download service to view your current downloads +
+
); }