Fix being unable to search by domain (#17832)

pull/17833/head
Gomasy 2022-03-21 12:45:58 +09:00 committed by GitHub
parent c0e3b20c58
commit cf5435bb27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@
= hidden_field_tag key, params[key]
- %i(username by_domain display_name email ip).each do |key|
- unless key == :by_domain && params[:remote].blank?
- unless key == :by_domain && params[:origin] != 'remote'
.input.string.optional
= text_field_tag key, params[key], class: 'string optional', placeholder: I18n.t("admin.accounts.#{key}")