more logical grouping

This commit is contained in:
2026-05-03 00:34:42 +02:00
parent c72d78faf1
commit d5fa8df328
+1 -2
View File
@@ -52,11 +52,10 @@ def update_adb(evt):
pgroup = evt.args["context"]["pgroup"]
index = evt.args["data"]["index"]
index = datetime.fromisoformat(index) # nicegui converts datetime to str
df = lib.read(pgroup, date_range=[index]).data
col_id = evt.args["colId"]
new_val = evt.args["newValue"]
df = lib.read(pgroup, date_range=[index]).data
df.at[index, col_id] = new_val
lib.update(pgroup, df)