Enable domain purge button on suspended domains too (#17741)

Related: #17209
This commit is contained in:
Jeong Arm 2022-03-11 12:58:09 +09:00 committed by GitHub
parent 64d2988d18
commit 18e27e0488
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ class Instance < ApplicationRecord
end end
def unavailable? def unavailable?
unavailable_domain.present? unavailable_domain.present? || domain_block&.suspend?
end end
def failing? def failing?