Enable domain purge button on suspended domains too (#17741)
Related: #17209
This commit is contained in:
parent
64d2988d18
commit
18e27e0488
|
@ -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?
|
||||||
|
|
Loading…
Reference in New Issue