mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
Update UI Packages
Align with Lidarr
This commit is contained in:
@@ -53,7 +53,7 @@ class SelectBookModalContent extends Component {
|
||||
|
||||
onFilterChange = ({ value }) => {
|
||||
this.setState({ filter: value.toLowerCase() });
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
// Render
|
||||
|
||||
@@ -53,7 +53,7 @@ class SelectBookModalContentConnector extends Component {
|
||||
|
||||
onSortPress = (sortKey, sortDirection) => {
|
||||
this.props.setInteractiveImportBooksSort({ sortKey, sortDirection });
|
||||
}
|
||||
};
|
||||
|
||||
onBookSelect = (bookId) => {
|
||||
const book = _.find(this.props.items, { id: bookId });
|
||||
@@ -72,7 +72,7 @@ class SelectBookModalContentConnector extends Component {
|
||||
this.props.saveInteractiveImportItem({ id: ids });
|
||||
|
||||
this.props.onModalClose(true);
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
// Render
|
||||
|
||||
@@ -27,7 +27,7 @@ class SelectBookRow extends Component {
|
||||
|
||||
onPress = () => {
|
||||
this.props.onBookSelect(this.props.id);
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
// Render
|
||||
|
||||
Reference in New Issue
Block a user