mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-24 22:35:39 -04:00
New: Readarr 0.1
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import _ from 'lodash';
|
||||
import { update } from 'Store/Actions/baseActions';
|
||||
|
||||
function updateAlbums(section, albums, albumIds, options) {
|
||||
function updateAlbums(section, albums, bookIds, options) {
|
||||
const data = _.reduce(albums, (result, item) => {
|
||||
if (albumIds.indexOf(item.id) > -1) {
|
||||
if (bookIds.indexOf(item.id) > -1) {
|
||||
result.push({
|
||||
...item,
|
||||
...options
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
const monitorOptions = [
|
||||
{ key: 'all', value: 'All Albums' },
|
||||
{ key: 'future', value: 'Future Albums' },
|
||||
{ key: 'missing', value: 'Missing Albums' },
|
||||
{ key: 'existing', value: 'Existing Albums' },
|
||||
{ key: 'first', value: 'Only First Album' },
|
||||
{ key: 'latest', value: 'Only Latest Album' },
|
||||
{ key: 'all', value: 'All Books' },
|
||||
{ key: 'future', value: 'Future Books' },
|
||||
{ key: 'missing', value: 'Missing Books' },
|
||||
{ key: 'existing', value: 'Existing Books' },
|
||||
{ key: 'first', value: 'Only First Book' },
|
||||
{ key: 'latest', value: 'Only Latest Book' },
|
||||
{ key: 'none', value: 'None' }
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user