mabuseif commited on
Commit
5d2ac8d
·
verified ·
1 Parent(s): d2e7879

Update app/materials_library.py

Browse files
Files changed (1) hide show
  1. app/materials_library.py +3 -3
app/materials_library.py CHANGED
@@ -890,9 +890,9 @@ def display_fenestrations_tab(material_library: MaterialLibrary):
890
 
891
  if st.form_submit_button("Save Fenestration"):
892
  action_id = str(uuid.uuid4())
893
- if st.session_state.fenestration_action.get("action_id") != action_id:
894
- st.session_state.fenestration_action = {"action": "save", "id": action_id"}
895
- st.session_state.fenestrations_form_state = {
896
  "name": name,
897
  "category": category,
898
  "shgc": shgc,
 
890
 
891
  if st.form_submit_button("Save Fenestration"):
892
  action_id = str(uuid.uuid4())
893
+ if st.session_state.fenestration_action.get("id") != action_id:
894
+ st.session_state.fenestration_action = {"action": "save", "id": action_id}
895
+ st.session_state.fenestration_form_state = {
896
  "name": name,
897
  "category": category,
898
  "shgc": shgc,