mirror of
https://github.com/sct/overseerr.git
synced 2025-12-27 00:34:56 +01: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">
|
||||
<Button
|
||||
buttonType="ghost"
|
||||
disabled={!radarrData?.length || !sonarrData?.length}
|
||||
onClick={() =>
|
||||
setOverrideRuleModal({
|
||||
open: true,
|
||||
|
||||
Reference in New Issue
Block a user