mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 08:17:49 -06:00
Removed the rating from the download grid
It felt a bit weird to already have it in the grid layout CURA-6013
This commit is contained in:
parent
50099ab753
commit
e92bd01fb2
2 changed files with 67 additions and 47 deletions
|
@ -105,7 +105,7 @@ class PackagesModel(ListModel):
|
|||
"links": links_dict,
|
||||
"website": package["website"] if "website" in package else None,
|
||||
"login_required": "login-required" in package.get("tags", []),
|
||||
"average_rating": package.get("rating", {}).get("average", 0),
|
||||
"average_rating": float(package.get("rating", {}).get("average", 0)),
|
||||
"num_ratings": package.get("rating", {}).get("count", 0),
|
||||
"user_rating": package.get("rating", {}).get("user", 0)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue