Merge commit 'eeb68053a83894190eefae178a661018b9859494' into glitch-soc/merge-4.6
This commit is contained in:
commit
f8fb62193a
18 files changed
+247
-14
No files matched your search
@@ -47,6 +47,10 @@ class SoftwareUpdate < ApplicationRecord
|
||||
all.to_a.filter(&:pending?)
|
||||
end
|
||||
|
||||
def pending?
|
||||
pending_to_a.present?
|
||||
end
|
||||
|
||||
def urgent_pending?
|
||||
pending_to_a.any?(&:urgent?)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user