Commit 8702e1bf authored by ZZH's avatar ZZH

opt list point 2024-06-04

parent ad54c5f9
......@@ -123,7 +123,10 @@ async def load_list_point(user_id, cid):
list_point = []
lang = await load_user_lang(user_id)
if lang != "zh_CN":
mtr_names = await load_monitor_names(list(points.keys()), lang)
else:
mtr_names = {}
for mtid, point in points.items():
pid, p_name = point["pid"], point.get("name", "")
add_to_company = point["add_to_company"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment