This commit is contained in:
2025-04-01 14:14:02 +10:30
parent eefc4acff0
commit e5dc550e88
3 changed files with 682 additions and 40 deletions
+4 -4
View File
@@ -123,10 +123,10 @@ def render_detail():
with col6:
if st.button("View Details", key=f"view_vdc_{vdc['id']}"):
st.session_state.selected_resource = vdc
st.session_state.selected_resource_type = 'vdc'
# Assuming the main app handles switching views based on these states
# No need to set view_type to 'detail' here if the main app does it
st.rerun()
st.session_state.selected_resource_type = 'virtual_data_center'
st.session_state.view_type = 'detail'
st.switch_page("streamlit_server/views/virtual_data_centers.py")
# st.rerun()
st.markdown("---") # Separator between VDC entries
else: