diff options
author | Jeong Arm <kjwonmail@gmail.com> | 2022-03-11 12:58:09 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-11 04:58:09 +0100 |
commit | 18e27e04887ee6357f6bd5f420473f910f1721b3 (patch) | |
tree | c91caa680fbfdd3dcea23831972838d8628b87c0 /app/models | |
parent | 64d2988d18395b76e3a9af33b7041c465a554e7d (diff) |
Enable domain purge button on suspended domains too (#17741)
Related: #17209
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/instance.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/instance.rb b/app/models/instance.rb index 7434d3322..c01c23077 100644 --- a/app/models/instance.rb +++ b/app/models/instance.rb @@ -33,7 +33,7 @@ class Instance < ApplicationRecord end def unavailable? - unavailable_domain.present? + unavailable_domain.present? || domain_block&.suspend? end def failing? |