Skip to content

Commit

Permalink
Merge pull request #191 from agoenergy/190_elecricity_generation_glob…
Browse files Browse the repository at this point in the history
…al_data_not_editable

fix not editable first line in df
  • Loading branch information
markushal authored Dec 13, 2023
2 parents edd7482 + 59c475a commit 6bd0ddb
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 @@ -464,7 +464,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 6bd0ddb

Please sign in to comment.