From 59c475a4b16319a8ff9e0171bf490e724b0284e1 Mon Sep 17 00:00:00 2001 From: "j.aschauer" Date: Wed, 13 Dec 2023 11:35:58 +0100 Subject: [PATCH] fix not editable first line in df --- app/ptxboa_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ptxboa_functions.py b/app/ptxboa_functions.py index 08154b94..836b245a 100644 --- a/app/ptxboa_functions.py +++ b/app/ptxboa_functions.py @@ -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