2
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
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