chore: Änderungen commited

This commit is contained in:
2025-05-14 12:07:57 +02:00
parent af30a208ca
commit c98e238841
3 changed files with 8 additions and 1 deletions

2
app.py
View File

@@ -2153,7 +2153,7 @@ def get_root_mindmap_data():
'description': category.description or '',
'color_code': category.color_code or '#9F7AEA',
'category': category.name,
'has_children': bool(category.children.count() > 0),
'has_children': bool(len(category.children) > 0),
'icon': category.icon or 'fa-solid fa-circle'
})