mirror of
https://github.com/Radarr/Radarr
synced 2026-01-15 20:13:07 +01:00
* New: Release Profiles - UI Updates * New: Release Profiles - API Changes * New: Release Profiles - Test Updates * New: Release Profiles - Backend Updates * New: Interactive Artist Search * New: Change Montiored on Album Details Page * New: Show Duration on Album Details Page * Fixed: Manual Import not working if no albums are Missing * Fixed: Sort search input by sortTitle * Fixed: Queue columnLabel throwing JS error
19 lines
485 B
JavaScript
19 lines
485 B
JavaScript
import { connect } from 'react-redux';
|
|
import { createSelector } from 'reselect';
|
|
import { setQueueOption } from 'Store/Actions/queueActions';
|
|
import QueueOptions from './QueueOptions';
|
|
|
|
function createMapStateToProps() {
|
|
return createSelector(
|
|
(state) => state.queue.options,
|
|
(options) => {
|
|
return options;
|
|
}
|
|
);
|
|
}
|
|
|
|
const mapDispatchToProps = {
|
|
onOptionChange: setQueueOption
|
|
};
|
|
|
|
export default connect(createMapStateToProps, mapDispatchToProps)(QueueOptions);
|