mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[improvement][ui] new 'updates ignored' category to filter packages with ignored updates
This commit is contained in:
@@ -334,6 +334,11 @@ class AppImageManager(SoftwareManager):
|
||||
if size:
|
||||
data['size'] = size
|
||||
|
||||
categories = data.get('categories')
|
||||
|
||||
if categories:
|
||||
data['categories'] = [self.i18n.get('category.{}'.format(c.lower()), self.i18n.get(c, c)).capitalize() for c in data['categories']]
|
||||
|
||||
return data
|
||||
|
||||
def get_history(self, pkg: AppImage) -> PackageHistory:
|
||||
|
||||
Reference in New Issue
Block a user