mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 10:45:27 +00:00
max streams defaults to 0
This commit is contained in:
parent
5b09efe096
commit
573472c4e8
1 changed files with 2 additions and 1 deletions
|
|
@ -42,6 +42,7 @@ const M3U = ({ playlist = null, isOpen, onClose }) => {
|
|||
server_url: '',
|
||||
user_agent: '',
|
||||
is_active: true,
|
||||
max_streams: 0,
|
||||
},
|
||||
validationSchema: Yup.object({
|
||||
name: Yup.string().required('Name is required'),
|
||||
|
|
@ -160,7 +161,7 @@ const M3U = ({ playlist = null, isOpen, onClose }) => {
|
|||
fullWidth
|
||||
id="max_streams"
|
||||
name="max_streams"
|
||||
label="Max Streams"
|
||||
label="Max Streams (0 = unlimited)"
|
||||
value={formik.values.max_streams}
|
||||
onChange={formik.handleChange}
|
||||
onBlur={formik.handleBlur}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue