parent
98753287ac
commit
2c5c068365
2 changed files with 2 additions and 2 deletions
|
@ -837,7 +837,7 @@ const startServer = async () => {
|
|||
// representing a value in an enum defined by Ruby on Rails:
|
||||
//
|
||||
// enum { warn: 0, hide: 1, half_warn: 2 }
|
||||
filter_action: ['warn', 'hide', 'half_warn'][Math.min(filter.filter_action, 1)],
|
||||
filter_action: filter.filter_action === 2 ? 'warn' : ['warn', 'hide', 'half_warn'][filter.filter_action],
|
||||
filter_action_ex: ['warn', 'hide', 'half_warn'][filter.filter_action],
|
||||
with_quote: filter.with_quote,
|
||||
excludeFollows: filter.exclude_follows,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue