James McCool commited on
Commit
2eb744d
·
1 Parent(s): 3d7387a

Reset session state flags for pricing, projections, and portfolio on data clear action

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -598,6 +598,9 @@ with st.container():
598
  with col1:
599
  if st.button('Clear data', key='reset3'):
600
  st.session_state.clear()
 
 
 
601
  with col2:
602
  site_var = st.selectbox("Select Site", ['Draftkings', 'Fanduel'])
603
 
 
598
  with col1:
599
  if st.button('Clear data', key='reset3'):
600
  st.session_state.clear()
601
+ st.session_state['pricing_loaded'] = False
602
+ st.session_state['projections_loaded'] = False
603
+ st.session_state['portfolio_loaded'] = False
604
  with col2:
605
  site_var = st.selectbox("Select Site", ['Draftkings', 'Fanduel'])
606