Spaces:
Sleeping
Sleeping
Update app/construction.py
Browse files- app/construction.py +2 -2
app/construction.py
CHANGED
@@ -216,7 +216,7 @@ def display_constructions_tables(construction_library: ConstructionLibrary):
|
|
216 |
cols[4].write("**Copy**")
|
217 |
for construction in library_constructions:
|
218 |
cols = st.columns([2, 1, 1, 1, 1])
|
219 |
-
cols[0].write(
|
220 |
cols[1].write(f"{construction.get('thermal_mass', 0.0):.1f}")
|
221 |
cols[2].write(f"{construction.get('u_value', 0.0):.3f}")
|
222 |
if cols[3].button("Preview", key=f"preview_lib_cons_{construction['name']}"):
|
@@ -310,7 +310,7 @@ def display_constructions_tables(construction_library: ConstructionLibrary):
|
|
310 |
cols[4].write("**Delete**")
|
311 |
for construction in project_constructions:
|
312 |
cols = st.columns([2, 1, 1, 1, 1])
|
313 |
-
cols[0].write(
|
314 |
cols[1].write(f"{construction.get('thermal_mass', 0.0):.1f}")
|
315 |
cols[2].write(f"{construction.get('u_value', 0.0):.3f}")
|
316 |
if cols[3].button("Edit", key=f"edit_proj_cons_{construction['name']}"):
|
|
|
216 |
cols[4].write("**Copy**")
|
217 |
for construction in library_constructions:
|
218 |
cols = st.columns([2, 1, 1, 1, 1])
|
219 |
+
cols[0].write(name)
|
220 |
cols[1].write(f"{construction.get('thermal_mass', 0.0):.1f}")
|
221 |
cols[2].write(f"{construction.get('u_value', 0.0):.3f}")
|
222 |
if cols[3].button("Preview", key=f"preview_lib_cons_{construction['name']}"):
|
|
|
310 |
cols[4].write("**Delete**")
|
311 |
for construction in project_constructions:
|
312 |
cols = st.columns([2, 1, 1, 1, 1])
|
313 |
+
cols[0].write(name)
|
314 |
cols[1].write(f"{construction.get('thermal_mass', 0.0):.1f}")
|
315 |
cols[2].write(f"{construction.get('u_value', 0.0):.3f}")
|
316 |
if cols[3].button("Edit", key=f"edit_proj_cons_{construction['name']}"):
|