Auto handle sonarr and radarr API differences (#1548)

This commit is contained in:
Tagaishi
2023-11-03 21:07:37 +01:00
committed by GitHub
parent 388a856a42
commit 5eb4365a59
4 changed files with 7 additions and 22 deletions

View File

@@ -26,14 +26,6 @@ const definition = defineWidget({
type: 'switch',
defaultValue: false,
},
useSonarrv4: {
type: 'switch',
defaultValue: false,
},
useRadarrv5: {
type: 'switch',
defaultValue: false,
},
radarrReleaseType: {
type: 'select',
defaultValue: 'inCinemas',
@@ -78,7 +70,6 @@ function CalendarTile({ widget }: CalendarTileProps) {
month: month.getMonth() + 1,
year: month.getFullYear(),
options: {
useSonarrv4: widget.properties.useSonarrv4,
showUnmonitored: widget.properties.showUnmonitored,
},
},