mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 11:16:00 +02:00
Return pending_update? value based on status, regardless of force delete state
This commit is contained in:
parent
248c984443
commit
4917539a7d
2 changed files with 11 additions and 1 deletions
|
@ -489,7 +489,7 @@ class Domain < ApplicationRecord
|
|||
end
|
||||
|
||||
def pending_update?
|
||||
statuses.include?(DomainStatus::PENDING_UPDATE) && !statuses.include?(DomainStatus::FORCE_DELETE)
|
||||
statuses.include?(DomainStatus::PENDING_UPDATE)
|
||||
end
|
||||
|
||||
# depricated not used, not valid
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue