From d6d93e3c03e5c018b071a04bea5faa50829ef334 Mon Sep 17 00:00:00 2001 From: Ben Phelps Date: Mon, 29 Aug 2022 18:41:36 +0300 Subject: [PATCH 1/3] add Jellyseerr attribution --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d00815d5..773f2a5b 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ - Docker Integration - Status light + CPU, Memory & Network Reporting *(click on the status light)* - Service Integration - - Currently supports Sonarr, Radarr, Ombi, Emby, Jellyfin, Jellyseerr, NZBGet, ruTorrent + - Currently supports Sonarr, Radarr, Ombi, Emby, Jellyfin, Jellyseerr ([thanks to ilusi0n](https://github.com/benphelps/homepage/pull/34)), NZBGet, ruTorrent - Portainer, Traefik, Speedtest Tracker, PiHole * Homepage Widgets - System Stats (Disk, CPU, Memory) From 76d534583b2744ac2a28ea19b1094a72572c21e8 Mon Sep 17 00:00:00 2001 From: Benjamin Carson Date: Thu, 1 Sep 2022 17:24:08 -0500 Subject: [PATCH 2/3] Fix typos --- src/skeleton/services.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/skeleton/services.yaml b/src/skeleton/services.yaml index 169082a0..d6a010ab 100644 --- a/src/skeleton/services.yaml +++ b/src/skeleton/services.yaml @@ -3,15 +3,15 @@ - My First Group: - My First Service: - href: http://localhosdt/ + href: http://localhost/ description: Homepage is awesome - My Second Group: - My Second Service: - href: http://localhosdt/ + href: http://localhost/ description: Homepage is the best - My Third Group: - My Third Service: - href: http://localhosdt/ + href: http://localhost/ description: Homepage is 😎 From c46306fc1de7cd556e9d6bfc50c931417c809c4b Mon Sep 17 00:00:00 2001 From: Ben Phelps Date: Fri, 2 Sep 2022 10:55:19 +0300 Subject: [PATCH 3/3] allow services to be display only --- src/components/services/item.jsx | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/src/components/services/item.jsx b/src/components/services/item.jsx index 957f456a..fffc6806 100644 --- a/src/components/services/item.jsx +++ b/src/components/services/item.jsx @@ -21,14 +21,19 @@ function resolveIcon(icon) { export default function Item({ service }) { return ( -
  • +
  • -
    +
    {service.icon && (
    { - window.open(service.href, "_blank").focus(); + if (service.href && service.href !== "#") { + window.open(service.href, "_blank").focus(); + } }} className="flex-shrink-0 flex items-center justify-center w-12 " > @@ -38,7 +43,9 @@ export default function Item({ service }) {
    { - window.open(service.href, "_blank").focus(); + if (service.href && service.href !== "#") { + window.open(service.href, "_blank").focus(); + } }} className="flex-1 flex items-center justify-between rounded-r-md " > @@ -48,7 +55,7 @@ export default function Item({ service }) {
    {service.container && ( - + )}