mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-24 22:35:49 -04:00
Fixed: Misc Calendar Improvements
This commit is contained in:
@@ -17,7 +17,6 @@ import ModalFooter from 'Components/Modal/ModalFooter';
|
||||
function getUrls(state) {
|
||||
const {
|
||||
unmonitored,
|
||||
premieresOnly,
|
||||
asAllDay,
|
||||
tags
|
||||
} = state;
|
||||
@@ -28,10 +27,6 @@ function getUrls(state) {
|
||||
icalUrl += 'unmonitored=true&';
|
||||
}
|
||||
|
||||
if (premieresOnly) {
|
||||
icalUrl += 'premieresOnly=true&';
|
||||
}
|
||||
|
||||
if (asAllDay) {
|
||||
icalUrl += 'asAllDay=true&';
|
||||
}
|
||||
@@ -61,7 +56,6 @@ class CalendarLinkModalContent extends Component {
|
||||
|
||||
const defaultState = {
|
||||
unmonitored: false,
|
||||
premieresOnly: false,
|
||||
asAllDay: false,
|
||||
tags: []
|
||||
};
|
||||
@@ -105,7 +99,6 @@ class CalendarLinkModalContent extends Component {
|
||||
|
||||
const {
|
||||
unmonitored,
|
||||
premieresOnly,
|
||||
asAllDay,
|
||||
tags,
|
||||
iCalHttpUrl,
|
||||
@@ -132,18 +125,6 @@ class CalendarLinkModalContent extends Component {
|
||||
/>
|
||||
</FormGroup>
|
||||
|
||||
<FormGroup>
|
||||
<FormLabel>Season Premieres Only</FormLabel>
|
||||
|
||||
<FormInputGroup
|
||||
type={inputTypes.CHECK}
|
||||
name="premieresOnly"
|
||||
value={premieresOnly}
|
||||
helpText="Only the first episode in a season will be in the feed"
|
||||
onChange={this.onInputChange}
|
||||
/>
|
||||
</FormGroup>
|
||||
|
||||
<FormGroup>
|
||||
<FormLabel>Show as All-Day Events</FormLabel>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user