diff --git a/frontend/src/Settings/Profiles/Quality/QualityProfileItemGroup.js b/frontend/src/Settings/Profiles/Quality/QualityProfileItemGroup.js
index 34008b1ec..b59df95bb 100644
--- a/frontend/src/Settings/Profiles/Quality/QualityProfileItemGroup.js
+++ b/frontend/src/Settings/Profiles/Quality/QualityProfileItemGroup.js
@@ -129,11 +129,10 @@ class QualityProfileItemGroup extends Component {
{
connectDragSource(
-
+
)
diff --git a/frontend/src/Store/Actions/calendarActions.js b/frontend/src/Store/Actions/calendarActions.js
index 3bbd901b3..3d4337b60 100644
--- a/frontend/src/Store/Actions/calendarActions.js
+++ b/frontend/src/Store/Actions/calendarActions.js
@@ -45,7 +45,7 @@ export const defaultState = {
filters: [
{
key: 'monitored',
- value: false,
+ value: false || true,
type: filterTypes.EQUAL
}
]
@@ -192,7 +192,6 @@ export const clearCalendar = createAction(CLEAR_CALENDAR);
// Action Handlers
export const actionHandlers = handleThunks({
-
[FETCH_CALENDAR]: function(getState, payload, dispatch) {
const state = getState();
const unmonitored = state.calendar.selectedFilterKey === 'all';
@@ -339,8 +338,8 @@ export const reducers = createHandleActions({
[CLEAR_CALENDAR]: (state) => {
const {
view,
- showUpcoming,
selectedFilterKey,
+ showUpcoming,
...otherDefaultState
} = defaultState;
diff --git a/frontend/src/Store/Actions/queueActions.js b/frontend/src/Store/Actions/queueActions.js
index 8102fe6d8..d13c6ed57 100644
--- a/frontend/src/Store/Actions/queueActions.js
+++ b/frontend/src/Store/Actions/queueActions.js
@@ -225,7 +225,7 @@ export const actionHandlers = handleThunks({
promise.done((data) => {
dispatch(batchActions([
- dispatch(fetchQueue()),
+ fetchQueue(),
set({
section: paged,
diff --git a/frontend/src/System/Backup/BackupRow.js b/frontend/src/System/Backup/BackupRow.js
index e32145352..cbc53812e 100644
--- a/frontend/src/System/Backup/BackupRow.js
+++ b/frontend/src/System/Backup/BackupRow.js
@@ -87,10 +87,11 @@ class BackupRow extends Component {
{
-
+
+
+
}
diff --git a/frontend/src/System/Status/Health/Health.js b/frontend/src/System/Status/Health/Health.js
index ff2165048..869354ae1 100644
--- a/frontend/src/System/Status/Health/Health.js
+++ b/frontend/src/System/Status/Health/Health.js
@@ -125,11 +125,12 @@ class Health extends Component {
return (
-
+
+
+
{item.message}
diff --git a/src/NzbDrone.Core/Music/Commands/BulkMoveArtistCommand.cs b/src/NzbDrone.Core/Music/Commands/BulkMoveArtistCommand.cs
index 52a4cfafd..1a2fed394 100644
--- a/src/NzbDrone.Core/Music/Commands/BulkMoveArtistCommand.cs
+++ b/src/NzbDrone.Core/Music/Commands/BulkMoveArtistCommand.cs
@@ -1,3 +1,4 @@
+using System;
using System.Collections.Generic;
using NzbDrone.Core.Messaging.Commands;
@@ -11,9 +12,39 @@ namespace NzbDrone.Core.Music.Commands
public override bool SendUpdatesToClient => true;
}
- public class BulkMoveArtist
+ public class BulkMoveArtist : IEquatable
{
public int ArtistId { get; set; }
public string SourcePath { get; set; }
+
+ public bool Equals(BulkMoveArtist other)
+ {
+ if (other == null)
+ {
+ return false;
+ }
+
+ return ArtistId.Equals(other.ArtistId);
+ }
+
+ public override bool Equals(object obj)
+ {
+ if (obj == null)
+ {
+ return false;
+ }
+
+ if (obj.GetType() != GetType())
+ {
+ return false;
+ }
+
+ return ArtistId.Equals(((BulkMoveArtist)obj).ArtistId);
+ }
+
+ public override int GetHashCode()
+ {
+ return ArtistId.GetHashCode();
+ }
}
}