[Glitch] Save quick filter settings when selecting a different filter

Port 14901400f3 to glitch-soc
lolsob-rspec
ThibG 2019-03-17 03:13:29 +01:00 committed by Thibaut Girka
parent 365de06816
commit 91419e3b68
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ import {
importFetchedStatus, importFetchedStatus,
importFetchedStatuses, importFetchedStatuses,
} from './importer'; } from './importer';
import { saveSettings } from './settings';
import { defineMessages } from 'react-intl'; import { defineMessages } from 'react-intl';
import { List as ImmutableList } from 'immutable'; import { List as ImmutableList } from 'immutable';
import { unescapeHTML } from 'flavours/glitch/util/html'; import { unescapeHTML } from 'flavours/glitch/util/html';
@ -286,5 +287,6 @@ export function setFilter (filterType) {
value: filterType, value: filterType,
}); });
dispatch(expandNotifications()); dispatch(expandNotifications());
dispatch(saveSettings());
}; };
}; };