implement better ui

This commit is contained in:
2025-09-27 22:48:45 +03:00
parent 90683eb8c6
commit 3cacc1310c
7 changed files with 75 additions and 15 deletions

View File

@@ -258,9 +258,10 @@ def get_all():
data = db.all()
_items = []
for item in data:
d = dict(item)
d["doc_id"] = item.doc_id
_items.append(d)
buffer = {
item.doc_id: item
}
_items.append(buffer)
return jsonify(_items), 200