From 6d1c325167d12300e86d678a054777acd5d3077a Mon Sep 17 00:00:00 2001 From: cwm Date: Tue, 9 Jan 2018 09:48:14 -0600 Subject: Rename key to path in actions and reducers for settings (tootsuite pr #6105) --- app/javascript/flavours/glitch/reducers/push_notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/javascript/flavours/glitch/reducers/push_notifications.js') diff --git a/app/javascript/flavours/glitch/reducers/push_notifications.js b/app/javascript/flavours/glitch/reducers/push_notifications.js index 4eba2a5e8..1b47ca962 100644 --- a/app/javascript/flavours/glitch/reducers/push_notifications.js +++ b/app/javascript/flavours/glitch/reducers/push_notifications.js @@ -44,7 +44,7 @@ export default function push_subscriptions(state = initialState, action) { case CLEAR_SUBSCRIPTION: return initialState; case SET_ALERTS: - return state.setIn(action.key, action.value); + return state.setIn(action.path, action.value); default: return state; } -- cgit