From f3cd757246a590762e6eabf5412efc3425012e0f Mon Sep 17 00:00:00 2001 From: "Bryant, Charles" Date: Thu, 19 Mar 2020 11:09:23 -0700 Subject: [PATCH] Add notice card migration --- app/configureStore.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/configureStore.js b/app/configureStore.js index e4e6afe4d..2dc242b5b 100644 --- a/app/configureStore.js +++ b/app/configureStore.js @@ -30,7 +30,7 @@ const saveShuttleFilter = createFilter( const migrations = { 0: state => ({ ...state, - promotion: undefined + promotions: undefined }), 1: state => ({ ...state, @@ -43,7 +43,7 @@ const migrations = { ...state.cards.cards, promotions: { id: 'promotions', - active: true, + active: false, autoActivated: false, name: 'Notices', component: 'PromotionsCard' @@ -56,6 +56,7 @@ const migrations = { } const persistConfig = { + version: 2, key: 'home', storage: AsyncStorage, transforms: [saveMapFilter, saveShuttleFilter],