Add a way to know why a status has been filtered, and show it anyway
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user