Browse Source

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

Port 7477db7268 to glitch-soc
closed-social-glitch-2
ThibG 5 years ago
committed by Thibaut Girka
parent
commit
200cd3b5a7
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/javascript/flavours/glitch/actions/notifications.js

+ 2
- 0
app/javascript/flavours/glitch/actions/notifications.js View File

@ -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());
};
};

Loading…
Cancel
Save