mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Fixed: UI fixes from Sonarr
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
parent
6eafffeb2c
commit
b506fd3ab7
20 changed files with 117 additions and 88 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -225,7 +225,7 @@ export const actionHandlers = handleThunks({
|
|||
|
||||
promise.done((data) => {
|
||||
dispatch(batchActions([
|
||||
dispatch(fetchQueue()),
|
||||
fetchQueue(),
|
||||
|
||||
set({
|
||||
section: paged,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue