mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 05:04:15 +02:00
fix: not showing app disk cached description when listing installed apps
This commit is contained in:
@@ -19,7 +19,7 @@ class ApplicationView:
|
||||
|
||||
def get_async_attr(self, attr: str, strip_html: bool = False, default: str = '...'):
|
||||
|
||||
if self.model.is_library():
|
||||
if getattr(self.model.base_data, attr) is not None or self.model.is_library():
|
||||
res = getattr(self.model.base_data, attr)
|
||||
else:
|
||||
res = getattr(self.model.base_data, attr) if self.model.status == ApplicationStatus.READY and getattr(self.model.base_data, attr) else default
|
||||
|
||||
Reference in New Issue
Block a user