1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-22 22:15:17 -04:00

New: Renamed Blacklist to Blocklist

This commit is contained in:
Robin Dadswell
2021-08-19 20:13:14 +01:00
committed by Qstick
parent 8024f4658c
commit 13224f03cc
52 changed files with 614 additions and 589 deletions
@@ -1,6 +1,7 @@
import _ from 'lodash';
import persistState from 'redux-localstorage';
import actions from 'Store/Actions';
import migrate from 'Store/Migrators/migrate';
const columnPaths = [];
@@ -98,6 +99,7 @@ const config = {
export default function createPersistState() {
// Migrate existing local storage before proceeding
const persistedState = JSON.parse(localStorage.getItem(config.key));
migrate(persistedState);
localStorage.setItem(config.key, serialize(persistedState));
return persistState(paths, config);