mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix a bug
This commit is contained in:
parent
83a619f826
commit
b77d718754
1 changed files with 2 additions and 1 deletions
|
|
@ -8,6 +8,7 @@ import { SearchFilter } from './search_filter'
|
|||
import { SubscriptionFilter } from './search_filter/subscription_filter'
|
||||
import { ContentFilter } from './search_filter/content_filter'
|
||||
import { ReadFilter } from './search_filter/read_filter'
|
||||
import { TypeFilter } from './search_filter/type_filter'
|
||||
|
||||
export enum RuleActionType {
|
||||
AddLabel = 'ADD_LABEL',
|
||||
|
|
@ -65,7 +66,7 @@ const parseSearchFilter = (filter: string): SearchFilter[] => {
|
|||
result.push(new ReadFilter(keyword.value))
|
||||
break
|
||||
case 'type':
|
||||
result.push(new ReadFilter(keyword.value))
|
||||
result.push(new TypeFilter(keyword.value))
|
||||
break
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue