Add a way to know why a status has been filtered, and show it anyway

This commit is contained in:
Thibaut Girka
2019-07-12 16:01:33 +02:00
committed by ThibG
parent e9fac2def9
commit bde7a415b9
6 changed files with 147 additions and 5 deletions

View File

@ -20,7 +20,7 @@ export const makeGetAccount = () => {
});
};
const toServerSideType = columnType => {
export const toServerSideType = columnType => {
switch (columnType) {
case 'home':
case 'notifications':
@ -39,7 +39,7 @@ const toServerSideType = columnType => {
const escapeRegExp = string =>
string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); // $& means the whole matched string
const regexFromFilters = filters => {
export const regexFromFilters = filters => {
if (filters.size === 0) {
return null;
}