mirror of https://github.com/Radarr/Radarr
Fixed: Don't crash due to null Formats on Quality edit
This commit is contained in:
parent
51af4011a3
commit
c22c7eff60
|
@ -26,4 +26,8 @@ MovieFormats.propTypes = {
|
|||
formats: PropTypes.arrayOf(PropTypes.object).isRequired
|
||||
};
|
||||
|
||||
MovieFormats.defaultProps = {
|
||||
formats: []
|
||||
};
|
||||
|
||||
export default MovieFormats;
|
||||
|
|
Loading…
Reference in New Issue