Changing title_match to title_include for clarity.

This commit is contained in:
Roland 2024-07-14 09:44:18 -06:00
parent 4a0a9dd9a9
commit 37ff1ab2cd
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
7 changed files with 24 additions and 19 deletions

View file

@ -418,7 +418,7 @@ export function ChannelDownloadForm({channel_id, afterSave, closeModal, download
const [state, setState] = React.useState({
frequency: download.frequency ? download.frequency : 604800,
title_exclude: settings.title_exclude ? settings.title_exclude : '',
title_match: settings.title_match ? settings.title_match : '',
title_include: settings.title_include ? settings.title_include : '',
url: download ? download.url : '',
})
const [disabled, setDisabled] = React.useState(useWROLMode());
@ -447,7 +447,7 @@ export function ChannelDownloadForm({channel_id, afterSave, closeModal, download
download.id,
state.url,
state.frequency,
state.title_match,
state.title_include,
state.title_exclude,
tagNames,
);
@ -456,7 +456,7 @@ export function ChannelDownloadForm({channel_id, afterSave, closeModal, download
channel_id,
state.url,
state.frequency,
state.title_match,
state.title_include,
state.title_exclude,
tagNames,
);
@ -544,11 +544,11 @@ export function ChannelDownloadForm({channel_id, afterSave, closeModal, download
popupPosition='bottom center'
/>
<FormInput
name="title_match"
name="title_include"
type="text"
disabled={disabled}
placeholder='Shelter,Solar Power'
value={state.title_match}
value={state.title_include}
onChange={handleInputChange}
/>
</Grid.Column>