0
0
Fork 0

Fix Mastodon listing updates older or equal to current version (#33906)

This commit is contained in:
Claire 2025-02-12 15:27:42 +01:00 committed by GitHub
parent fb0856458b
commit 6b52227fcc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -6,7 +6,7 @@ module Admin
def index
authorize :software_update, :index?
@software_updates = SoftwareUpdate.by_version
@software_updates = SoftwareUpdate.by_version.filter(&:pending?)
end
private