mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
mkdir cannot be empty
This commit is contained in:
parent
c277a75a1a
commit
41d4a84375
1 changed files with 1 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue