mirror of
https://github.com/Radarr/Radarr
synced 2024-12-29 19:35:25 +00:00
Fixed: Don't crash due to null Formats on Quality edit
This commit is contained in:
parent
51af4011a3
commit
c22c7eff60
1 changed files with 4 additions and 0 deletions
|
@ -26,4 +26,8 @@ MovieFormats.propTypes = {
|
|||
formats: PropTypes.arrayOf(PropTypes.object).isRequired
|
||||
};
|
||||
|
||||
MovieFormats.defaultProps = {
|
||||
formats: []
|
||||
};
|
||||
|
||||
export default MovieFormats;
|
||||
|
|
Loading…
Reference in a new issue