mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Save quick filter settings when selecting a different filter (#10296)
The active filter is stored in the web app's settings, but no save is explicitly triggered, meaning that it is only saved when a different setting is changed.
This commit is contained in:
parent
97e5f739f7
commit
7477db7268
@ -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 '../utils/html';
|
||||
@ -187,5 +188,6 @@ export function setFilter (filterType) {
|
||||
value: filterType,
|
||||
});
|
||||
dispatch(expandNotifications());
|
||||
dispatch(saveSettings());
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user