Skip to content

Commit

Permalink
fix not editable first line in df
Browse files Browse the repository at this point in the history
  • Loading branch information
joAschauer committed Dec 13, 2023
1 parent a7495b0 commit 59c475a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/ptxboa_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ def register_user_changes(
# convert session state dict to dataframe:
# Create a list of dictionaries
data_dict = st.session_state[editor_key]["edited_rows"]
if any(data_dict):
if any(data_dict.values()):
data_list = []

rejected_changes = False
Expand Down

0 comments on commit 59c475a

Please sign in to comment.