diff options
author | ThibG <thib@sitedethib.com> | 2019-03-17 03:13:29 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-03-18 18:06:26 +0100 |
commit | 200cd3b5a70f7f1f187dee780858f383260c439a (patch) | |
tree | 0b8f1f483b36c237481f27002a2b80c10f149400 /app/javascript/flavours/glitch/actions | |
parent | 291012ec0c08f5323b2102eb4d2dc8714ddce4d9 (diff) |
[Glitch] Save quick filter settings when selecting a different filter
Port 7477db7268f2a4c158e5f7683493a728d632f7e2 to glitch-soc
Diffstat (limited to 'app/javascript/flavours/glitch/actions')
-rw-r--r-- | app/javascript/flavours/glitch/actions/notifications.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/actions/notifications.js b/app/javascript/flavours/glitch/actions/notifications.js index dd4f5fd44..57fecf63d 100644 --- a/app/javascript/flavours/glitch/actions/notifications.js +++ b/app/javascript/flavours/glitch/actions/notifications.js @@ -7,6 +7,7 @@ import { importFetchedStatus, importFetchedStatuses, } from './importer'; +import { saveSettings } from './settings'; import { defineMessages } from 'react-intl'; import { List as ImmutableList } from 'immutable'; import { unescapeHTML } from 'flavours/glitch/util/html'; @@ -286,5 +287,6 @@ export function setFilter (filterType) { value: filterType, }); dispatch(expandNotifications()); + dispatch(saveSettings()); }; }; |