New: Readarr 0.1

This commit is contained in:
ta264
2020-05-06 21:14:11 +01:00
parent 476f2d6047
commit 08496c82af
911 changed files with 14837 additions and 24442 deletions
+2 -2
View File
@@ -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' }
];