mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
CURA-5035 Don't show authors with 0 packages
This commit is contained in:
parent
523518020c
commit
85ebe741a8
4 changed files with 36 additions and 19 deletions
|
@ -12,6 +12,18 @@ Item
|
|||
{
|
||||
width: UM.Theme.getSize("toolbox_thumbnail_large").width
|
||||
height: UM.Theme.getSize("toolbox_thumbnail_large").width
|
||||
visible:
|
||||
{
|
||||
if (toolbox.viewCategory == "material" && model.packages_count)
|
||||
{
|
||||
console.log(model)
|
||||
return model.packages_count > 0
|
||||
}
|
||||
else
|
||||
{
|
||||
return true
|
||||
}
|
||||
}
|
||||
Rectangle
|
||||
{
|
||||
color: "white"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue