mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Updates to UI, Update NLog to 4.4.12
This commit is contained in:
parent
31db4e2026
commit
c8ed46850a
88 changed files with 9550 additions and 269 deletions
|
@ -20,7 +20,7 @@ import FilterMenu from 'Components/Menu/FilterMenu';
|
|||
import MenuContent from 'Components/Menu/MenuContent';
|
||||
import FilterMenuItem from 'Components/Menu/FilterMenuItem';
|
||||
import ConfirmModal from 'Components/Modal/ConfirmModal';
|
||||
import CutoffUnmetRow from './CutoffUnmetRow';
|
||||
import CutoffUnmetRowConnector from './CutoffUnmetRowConnector';
|
||||
|
||||
class CutoffUnmet extends Component {
|
||||
|
||||
|
@ -219,7 +219,7 @@ class CutoffUnmet extends Component {
|
|||
{
|
||||
items.map((item) => {
|
||||
return (
|
||||
<CutoffUnmetRow
|
||||
<CutoffUnmetRowConnector
|
||||
key={item.id}
|
||||
isSelected={selectedState[item.id]}
|
||||
columns={columns}
|
||||
|
|
17
frontend/src/Wanted/CutoffUnmet/CutoffUnmetRowConnector.js
Normal file
17
frontend/src/Wanted/CutoffUnmet/CutoffUnmetRowConnector.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
import { connect } from 'react-redux';
|
||||
import { createSelector } from 'reselect';
|
||||
import createArtistSelector from 'Store/Selectors/createArtistSelector';
|
||||
import CutoffUnmetRow from './CutoffUnmetRow';
|
||||
|
||||
function createMapStateToProps() {
|
||||
return createSelector(
|
||||
createArtistSelector(),
|
||||
(artist) => {
|
||||
return {
|
||||
artist
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
export default connect(createMapStateToProps)(CutoffUnmetRow);
|
|
@ -21,7 +21,7 @@ import MenuContent from 'Components/Menu/MenuContent';
|
|||
import FilterMenuItem from 'Components/Menu/FilterMenuItem';
|
||||
import ConfirmModal from 'Components/Modal/ConfirmModal';
|
||||
import InteractiveImportModal from 'InteractiveImport/InteractiveImportModal';
|
||||
import MissingRow from './MissingRow';
|
||||
import MissingRowConnector from './MissingRowConnector';
|
||||
|
||||
class Missing extends Component {
|
||||
|
||||
|
@ -236,7 +236,7 @@ class Missing extends Component {
|
|||
{
|
||||
items.map((item) => {
|
||||
return (
|
||||
<MissingRow
|
||||
<MissingRowConnector
|
||||
key={item.id}
|
||||
isSelected={selectedState[item.id]}
|
||||
columns={columns}
|
||||
|
|
17
frontend/src/Wanted/Missing/MissingRowConnector.js
Normal file
17
frontend/src/Wanted/Missing/MissingRowConnector.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
import { connect } from 'react-redux';
|
||||
import { createSelector } from 'reselect';
|
||||
import createArtistSelector from 'Store/Selectors/createArtistSelector';
|
||||
import MissingRow from './MissingRow';
|
||||
|
||||
function createMapStateToProps() {
|
||||
return createSelector(
|
||||
createArtistSelector(),
|
||||
(artist) => {
|
||||
return {
|
||||
artist
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
export default connect(createMapStateToProps)(MissingRow);
|
Loading…
Add table
Add a link
Reference in a new issue