Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
velicanu committed Oct 27, 2023
1 parent fcdcc4e commit 1fb3e9f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pages/Expenses.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,9 +642,7 @@ def init(conn, conn_changes, data_dir, user):
on_click=toggle_save_changes,
)
if st.session_state.save_changes:
insert_rows(
changes.to_dict(orient="records"), "expenses", conn_changes
)
insert_rows(changes, "expenses", conn_changes)
st.session_state.save_changes = False
st.rerun()

Expand Down

0 comments on commit 1fb3e9f

Please sign in to comment.