upd
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user