Skip to content

Commit

Permalink
use human title
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros-k committed Oct 1, 2024
1 parent cb5f01f commit 8a0fcab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions catalog_reader/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ def get_app_details(
item_data[desired_key] = app_metadata[desired_keys_mapping[desired_key]]
desired_keys_mapping.pop(desired_key)

# Use the human readable title from the app metadata if it is available
if app_metadata.get("title"):
item_data["title"] = app_metadata["title"]

if not item_data['latest_version']:
item_data['latest_version'] = k
item_data['latest_app_version'] = app_metadata['app_version']
Expand Down

0 comments on commit 8a0fcab

Please sign in to comment.