Merge remote-tracking branch 'parent/main' into kb_migration

This commit is contained in:
KMY 2023-08-17 11:32:25 +09:00
commit d183c0cf38
3 changed files with 7 additions and 1 deletions

View file

@ -48,7 +48,10 @@ class Report < ApplicationRecord
validate :validate_rule_ids
# entries here needs to be kept in sync with app/javascript/mastodon/features/notifications/components/report.jsx
# entries here need to be kept in sync with the front-end:
# - app/javascript/mastodon/features/notifications/components/report.jsx
# - app/javascript/mastodon/features/report/category.jsx
# - app/javascript/mastodon/components/admin/ReportReasonSelector.jsx
enum category: {
other: 0,
spam: 1_000,