refactor: rebrand project to HartOMat
This commit is contained in:
@@ -1014,9 +1014,9 @@ async def get_dashboard_stats(
|
||||
if isinstance(entry, dict) and entry.get("material"):
|
||||
all_mat_names.add(entry["material"])
|
||||
|
||||
# Library materials (name starts with SCHAEFFLER_)
|
||||
# Library materials (name starts with HARTOMAT_)
|
||||
lib_count_result = await db.execute(
|
||||
select(func.count(Material.id)).where(Material.name.like("SCHAEFFLER_%"))
|
||||
select(func.count(Material.id)).where(Material.name.like("HARTOMAT_%"))
|
||||
)
|
||||
library_material_count = lib_count_result.scalar() or 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user