mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Fix unset video language on video update
This commit is contained in:
parent
9eee32fc34
commit
c24ac1c18e
4 changed files with 21 additions and 8 deletions
|
@ -53,7 +53,7 @@ function isVideoLicenceValid (value) {
|
|||
}
|
||||
|
||||
function isVideoLanguageValid (value) {
|
||||
return constants.VIDEO_LANGUAGES[value] !== undefined
|
||||
return value === null || constants.VIDEO_LANGUAGES[value] !== undefined
|
||||
}
|
||||
|
||||
function isVideoNSFWValid (value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue