mkdir cannot be empty

This commit is contained in:
Roland 2022-01-31 21:28:42 -07:00
parent c277a75a1a
commit 41d4a84375
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -144,8 +144,6 @@ class ChannelPage extends APIForm {
mkdir: false,
url: '',
match_regex: '',
generate_posters: false,
calculate_duration: true,
download_frequency: null,
},
statistics: null,
@ -189,6 +187,7 @@ class ChannelPage extends APIForm {
handleSubmit = async (e) => {
e.preventDefault();
let {inputs} = this.state;
inputs['mkdir'] = inputs['mkdir'] || false;
let response = null;
try {
this.setLoading();