mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 22:57:16 +08:00
FEATURE: the ability to change the order of flags (#27269)
Continued work on moderate flags UI. In this PR admins are allowed to change the order of flags. The notify user flag is always on top but all other flags can be moved.
This commit is contained in:

committed by
GitHub

parent
c1ecbb8d28
commit
aa88b07640
@ -54,7 +54,7 @@ Flag.seed do |s|
|
||||
s.custom_type = true
|
||||
s.applies_to = %w[Post Topic Chat::Message]
|
||||
end
|
||||
Flag.seed do |s|
|
||||
Flag.unscoped.seed do |s|
|
||||
s.id = 9
|
||||
s.name = "needs_approval"
|
||||
s.position = 6
|
||||
|
Reference in New Issue
Block a user