Переглянути джерело

Fix directory showing tags that have no currently eligible accounts (#9872)

master
Eugen Rochko 5 роки тому
committed by GitHub
джерело
коміт
6b91da97bb
Не вдалося знайти GPG ключ що відповідає даному підпису Ідентифікатор GPG ключа: 4AEE18F83AFDEB23
1 змінених файлів з 1 додано та 1 видалено
  1. +1
    -1
      app/controllers/directories_controller.rb

+ 1
- 1
app/controllers/directories_controller.rb Переглянути файл

@@ -28,7 +28,7 @@ class DirectoriesController < ApplicationController
end

def set_tags
@tags = Tag.discoverable.limit(30)
@tags = Tag.discoverable.limit(30).reject { |tag| tag.cached_sample_accounts.empty? }
end

def set_accounts


Завантаження…
Відмінити
Зберегти