mirror of
https://github.com/Radarr/Radarr.git
synced 2024-08-18 08:19:38 +02:00
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
Block a user