Fix habit import position
This commit is contained in:
parent
837d77481f
commit
21fd1e5aaf
3 changed files with 8 additions and 1 deletions
|
|
@ -28,6 +28,7 @@ def trackers_to_habits(trackers):
|
|||
"highlight": 0,
|
||||
"name": f"{t['emoji']} {t['label']}",
|
||||
"question": "",
|
||||
"position": 0,
|
||||
"unit": "" if t["uom"] == "num" else t["uom"],
|
||||
"uuid": t["id"],
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue