Spaces:
Sleeping
Sleeping
Update app/materials_library.py
Browse files- app/materials_library.py +1 -1
app/materials_library.py
CHANGED
@@ -610,7 +610,7 @@ def display_fenestrations_tab(material_library: MaterialLibrary):
|
|
610 |
st.subheader("Library Fenestrations")
|
611 |
with st.container():
|
612 |
library_fenestrations = list(material_library.library_glazing_materials.values())
|
613 |
-
if
|
614 |
library_fenestrations = []
|
615 |
elif fenestration_filter != "All":
|
616 |
library_fenestrations = [f for f in library_fenestrations if f.__class__.__name__ == fenestration_filter]
|
|
|
610 |
st.subheader("Library Fenestrations")
|
611 |
with st.container():
|
612 |
library_fenestrations = list(material_library.library_glazing_materials.values())
|
613 |
+
if st.session_state["fenestration_filter"] == "None":
|
614 |
library_fenestrations = []
|
615 |
elif fenestration_filter != "All":
|
616 |
library_fenestrations = [f for f in library_fenestrations if f.__class__.__name__ == fenestration_filter]
|