```ruby
class ApplicationHelper::Button::MiqAeNamespaceEdit < ApplicationHelper::Button::MiqAeDomainLock
  needs :@record

  def visible?
    super || editable_domain?(@record)
  end
end
```

Fix the found error by modifying the inheritance hierarchy
user
```ruby
class ApplicationHelper::Button::MiqAeNamespaceEdit < ApplicationHelper::Button::MiqAeDomain
  needs :@record

  def disabled?
    @error_message = N_('Domain is Locked.') if super
    @error_message.present?
  end

  def visible?
    super || editable_domain?(@record)
  end
end
```
assistant