mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-04 13:48:27 -05:00
fix(overriderules): enable override rules only when a service exists (#1417)
This PR disable the 'New Override Rule' button when no Radarr/Sonarr service exists.
This commit is contained in:
@@ -528,6 +528,7 @@ const SettingsServices = () => {
|
|||||||
<div className="flex h-full w-full items-center justify-center">
|
<div className="flex h-full w-full items-center justify-center">
|
||||||
<Button
|
<Button
|
||||||
buttonType="ghost"
|
buttonType="ghost"
|
||||||
|
disabled={!radarrData?.length || !sonarrData?.length}
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
setOverrideRuleModal({
|
setOverrideRuleModal({
|
||||||
open: true,
|
open: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user