forked from e621ng/e621ng
[BURs] Only allow approving if pending
This commit is contained in:
parent
c111421303
commit
ae105140f1
@ -181,7 +181,7 @@ class BulkUpdateRequest < ApplicationRecord
|
||||
end
|
||||
|
||||
def approvable?(user)
|
||||
!is_approved? && user.is_admin?
|
||||
is_pending? && user.is_admin?
|
||||
end
|
||||
|
||||
def rejectable?(user)
|
||||
|
Loading…
Reference in New Issue
Block a user