mirror of
https://github.com/Radarr/Radarr
synced 2025-01-01 12:54:21 +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
|
formats: PropTypes.arrayOf(PropTypes.object).isRequired
|
||||||
};
|
};
|
||||||
|
|
||||||
|
MovieFormats.defaultProps = {
|
||||||
|
formats: []
|
||||||
|
};
|
||||||
|
|
||||||
export default MovieFormats;
|
export default MovieFormats;
|
||||||
|
|
Loading…
Reference in a new issue