* Fix: #374 拡張ドメインブロックのインポート・エクスポートについてkmyblue独自の項目が反映されない問題 * Fix test
This commit is contained in:
parent
64a149b338
commit
4e1e675939
5 changed files with 70 additions and 10 deletions
|
@ -34,7 +34,9 @@ class Admin::Import
|
|||
field&.strip
|
||||
when '#severity'
|
||||
field&.strip&.to_sym
|
||||
when '#reject_media', '#reject_favourite', '#reject_reply', '#reject_reports', '#obfuscate'
|
||||
when '#reject_media', '#reject_reports', '#obfuscate', '#reject_favourite', '#reject_reply', '#reject_send_sensitive',
|
||||
'#reject_hashtag', '#reject_straight_follow', '#reject_new_follow', '#hidden', '#detect_invalid_subscription',
|
||||
'#reject_reply_exclude_followers', '#reject_friend', '#block_trends'
|
||||
ActiveModel::Type::Boolean.new.cast(field)
|
||||
else
|
||||
field
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue