CURA-4644 Set the property in the component where is being used.

This commit is contained in:
Diego Prado Gesto 2018-05-04 14:03:26 +02:00
parent 6b214d2443
commit b00d51a6eb
3 changed files with 4 additions and 2 deletions

View file

@ -59,7 +59,7 @@ class PackagesModel(ListModel):
"version": package["package_version"],
"author_id": package["author"]["author_id"] if "author_id" in package["author"] else package["author"]["name"],
"author_name": package["author"]["display_name"] if "display_name" in package["author"] else package["author"]["name"],
"author_email": package["author"]["email"] if "email" in package["author"] else "None",
"author_email": package["author"]["email"] if "email" in package["author"] else None,
"description": package["description"],
"icon_url": package["icon_url"] if "icon_url" in package else None,
"image_urls": package["image_urls"] if "image_urls" in package else None,