Fixed: UI fixes from Sonarr

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
Qstick 2018-08-26 00:39:04 -04:00
parent 6eafffeb2c
commit b506fd3ab7
20 changed files with 117 additions and 88 deletions

View file

@ -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;

View file

@ -225,7 +225,7 @@ export const actionHandlers = handleThunks({
promise.done((data) => {
dispatch(batchActions([
dispatch(fetchQueue()),
fetchQueue(),
set({
section: paged,