diff options
author | ThibG <thib@sitedethib.com> | 2020-01-20 19:20:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-20 19:20:40 +0100 |
commit | a8c109baca4d02cc8aed454e231518c1f8ec1844 (patch) | |
tree | a828f3968b151924656061bfc709b00565aff877 /app/views/admin/instances | |
parent | ddcf78d8d3e2a8cb9aa04f8ff42f9d8e185b0354 (diff) | |
parent | dc2ab6e646bb721ef2e1be268b876bd00e8fa802 (diff) |
Merge pull request #1264 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/views/admin/instances')
-rw-r--r-- | app/views/admin/instances/index.html.haml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/admin/instances/index.html.haml b/app/views/admin/instances/index.html.haml index 1d85aa75e..0b299acc5 100644 --- a/app/views/admin/instances/index.html.haml +++ b/app/views/admin/instances/index.html.haml @@ -19,9 +19,8 @@ - unless whitelist_mode? = form_tag admin_instances_url, method: 'GET', class: 'simple_form' do .fields-group - - Admin::FilterHelper::INSTANCES_FILTERS.each do |key| - - if params[key].present? - = hidden_field_tag key, params[key] + - InstanceFilter::KEYS.each do |key| + = hidden_field_tag key, params[key] if params[key].present? - %i(by_domain).each do |key| .input.string.optional |