mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-26 20:09:47 +01:00
Revert "Save perPage selection in localstorage"
This reverts commit 9490374faa.
This commit is contained in:
parent
b3af0f880b
commit
50eda78ca1
2 changed files with 1 additions and 44 deletions
|
|
@ -1,11 +1,10 @@
|
|||
import { applyMiddleware, combineReducers, compose, createStore } from 'redux'
|
||||
import { connectRouter, routerMiddleware } from 'connected-react-router'
|
||||
import { routerMiddleware, connectRouter } from 'connected-react-router'
|
||||
import createSagaMiddleware from 'redux-saga'
|
||||
import { all, fork } from 'redux-saga/effects'
|
||||
import { adminReducer, adminSaga, USER_LOGOUT } from 'react-admin'
|
||||
import throttle from 'lodash.throttle'
|
||||
import { loadState, saveState } from './persistState'
|
||||
import { pruneResources } from './pruneResources'
|
||||
|
||||
export default ({
|
||||
authProvider,
|
||||
|
|
@ -51,9 +50,6 @@ export default ({
|
|||
throttle(() => {
|
||||
const state = store.getState()
|
||||
saveState({
|
||||
admin: {
|
||||
resources: pruneResources(state),
|
||||
},
|
||||
theme: state.theme,
|
||||
queue: state.queue,
|
||||
albumView: state.albumView,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue